nix-profile.sh: remove sbin from PATH

sbin is a symlink to bin. 
profiles only contains packages, which have this symlink. 
It is a subset of bin.

related to https://github.com/NixOS/nixpkgs/pull/25550
This commit is contained in:
Jörg Thalheim 2017-05-07 07:41:19 +01:00 committed by GitHub
parent bb50c89319
commit 542fe0d8f3

View file

@ -85,6 +85,6 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then
export MANPATH="$NIX_LINK/share/man:$MANPATH" export MANPATH="$NIX_LINK/share/man:$MANPATH"
fi fi
export PATH="$NIX_LINK/bin:$NIX_LINK/sbin:$__savedpath" export PATH="$NIX_LINK/bin:$__savedpath"
unset __savedpath NIX_LINK NIX_USER_PROFILE_DIR NIX_PROFILES unset __savedpath NIX_LINK NIX_USER_PROFILE_DIR NIX_PROFILES
fi fi