about summary refs log tree commit diff
diff options
context:
space:
mode:
-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