diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-11-22 16:27:48 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-11-22 16:27:48 +0100 |
commit | 1c3ccba0f5e658fa5d593ddef8aaaf6728f945a5 (patch) | |
tree | 60de207746a7458f30542d8f7560c2e54e41984a /scripts/nix-profile.sh.in | |
parent | ba87b08f8529e4d9f8c58d8c625152058ceadb75 (diff) |
Remove $NIX_USER_PROFILE_DIR
This is not used anywhere.
Diffstat (limited to 'scripts/nix-profile.sh.in')
-rw-r--r-- | scripts/nix-profile.sh.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in index e15f7cd46..0768c805a 100644 --- a/scripts/nix-profile.sh.in +++ b/scripts/nix-profile.sh.in @@ -5,7 +5,6 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then NIX_LINK=$HOME/.nix-profile - NIX_USER_PROFILE_DIR=@localstatedir@/nix/profiles/per-user/$USER # Append ~/.nix-defexpr/channels to $NIX_PATH so that <nixpkgs> # paths work when the user has fetched the Nixpkgs channel. @@ -35,5 +34,5 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then fi export PATH="$NIX_LINK/bin:$PATH" - unset NIX_LINK NIX_USER_PROFILE_DIR + unset NIX_LINK fi |