Merge pull request #1376 from Mic92/patch-1

nix-profile.sh: remove sbin from PATH
This commit is contained in:
Eelco Dolstra 2017-05-24 11:25:32 +02:00 committed by GitHub
commit 9e43a4a041

View file

@ -85,6 +85,6 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then
export MANPATH="$NIX_LINK/share/man:$MANPATH"
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
fi