about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-26T14·24+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-26T14·24+0100
commitd761009e3ccdcdd7b150b26f7f35eecf8f2fb59c (patch)
tree43e9077b2719c9b2faced5afa65429b9655e9808 /scripts
parentf14ef84a51e211b3924f59333d98d838ab500740 (diff)
Add ~/.nix-profile/sbin to $PATH
Fixes #112.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nix-profile.sh.in2
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