aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2017-05-24 11:25:32 +0200
committerGitHub <noreply@github.com>2017-05-24 11:25:32 +0200
commit9e43a4a041137001d51f451ec6c5e2c1047c7370 (patch)
tree8b69d6037cb540c791fb297ba39d2d7ca6aa19fd
parent9711524188494ff5bcbba8c6945add89fbb29713 (diff)
parent542fe0d8f3f25025a2642583d8593580a5d10e3a (diff)
Merge pull request #1376 from Mic92/patch-1
nix-profile.sh: remove sbin from PATH
-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 3cdf43104..ab95c09c8 100644
--- a/scripts/nix-profile.sh.in
+++ b/scripts/nix-profile.sh.in
@@ -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