Add ~/.nix-profile/sbin to $PATH

Fixes #112.
This commit is contained in:
Eelco Dolstra 2014-02-26 15:24:48 +01:00
parent f14ef84a51
commit d761009e3c

View file

@ -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