aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-profile.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-22 22:08:51 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-22 22:08:51 +0100
commitec9dd9a5aeb9b7fca170d86b8906ffac7e5ef057 (patch)
treecb9c9ca06d448b7a2f42472a7c1fd7f0c397ff03 /scripts/nix-profile.sh.in
parent1c3ccba0f5e658fa5d593ddef8aaaf6728f945a5 (diff)
Provide a default value for NIX_PATH
Diffstat (limited to 'scripts/nix-profile.sh.in')
-rw-r--r--scripts/nix-profile.sh.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in
index 0768c805a..8cba1c522 100644
--- a/scripts/nix-profile.sh.in
+++ b/scripts/nix-profile.sh.in
@@ -5,11 +5,6 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then
NIX_LINK=$HOME/.nix-profile
-
- # Append ~/.nix-defexpr/channels to $NIX_PATH so that <nixpkgs>
- # paths work when the user has fetched the Nixpkgs channel.
- export NIX_PATH=${NIX_PATH:+$NIX_PATH:}$HOME/.nix-defexpr/channels
-
# Set up environment.
# This part should be kept in sync with nixpkgs:nixos/modules/programs/environment.nix
export NIX_PROFILES="@localstatedir@/nix/profiles/default $HOME/.nix-profile"