about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-31T13·14+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-31T13·14+0200
commit33664f0e8d91233772e767128ca654ba10b29149 (patch)
treecc5d00ed1d8769db122bbd00116ca79d65408e9a /scripts
parent0a9d627e50f96339dc597813a594822e2a6d956a (diff)
Fix reference to $NIX_LINK
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install-nix-from-closure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-nix-from-closure.sh b/scripts/install-nix-from-closure.sh
index 95f69cad84bc..a6b764bcb3b2 100644
--- a/scripts/install-nix-from-closure.sh
+++ b/scripts/install-nix-from-closure.sh
@@ -90,7 +90,7 @@ if [ -z "$_NIX_INSTALLER_TEST" ]; then
 fi
 
 # Make the shell source nix.sh during login.
-p=$NIX_LINK/etc/profile.d/nix.sh
+p=$HOME/.nix-profile/etc/profile.d/nix.sh
 
 added=
 for i in .bash_profile .bash_login .profile; do