diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-26T14·24+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-26T14·24+0100 |
commit | d761009e3ccdcdd7b150b26f7f35eecf8f2fb59c (patch) | |
tree | 43e9077b2719c9b2faced5afa65429b9655e9808 /scripts/nix-profile.sh.in | |
parent | f14ef84a51e211b3924f59333d98d838ab500740 (diff) |
Add ~/.nix-profile/sbin to $PATH
Fixes #112.
Diffstat (limited to 'scripts/nix-profile.sh.in')
-rw-r--r-- | scripts/nix-profile.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in index 06e7bdb7b808..5d682fc51a59 100644 --- a/scripts/nix-profile.sh.in +++ b/scripts/nix-profile.sh.in @@ -8,7 +8,7 @@ if test -n "$HOME"; then @coreutils@/ln -s "$_NIX_DEF_LINK" "$NIX_LINK" fi - export PATH=$NIX_LINK/bin:$PATH + export PATH=$NIX_LINK/bin:$NIX_LINK/sbin:$PATH # Subscribe the root user to the Nixpkgs channel by default. if [ ! -e $HOME/.nix-channels ]; then |