aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-01 13:04:15 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-01 13:04:15 +0200
commite012c126dbfac37f8f832d1ccbaf469d62e5d1c3 (patch)
tree79ff8b5b1f4038f0692b3524da10e2a2d7190724
parentff4de4cb2755b4f01f7c421b7813358f7ba8bb3c (diff)
Revert "add the manpath to the installer"
This reverts commit 76f985b92d95fef967c1f3193d05244ced15420b. We shouldn't mess with $MANPATH, because on some "man" implementations (like NixOS'), the default value on $MANPATH is derived from $PATH. So if you set $MANPATH, you lose the default locations.
-rw-r--r--scripts/nix-profile.sh.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in
index f772d2f71..672d1f035 100644
--- a/scripts/nix-profile.sh.in
+++ b/scripts/nix-profile.sh.in
@@ -9,7 +9,6 @@ if [ -n "$HOME" ]; then
fi
export PATH=$NIX_LINK/bin:$NIX_LINK/sbin:$PATH
- export MANPATH=$NIX_LINK/share/man:$MANPATH
# Subscribe the user to the Nixpkgs channel by default.
if [ ! -e $HOME/.nix-channels ]; then