about summary refs log tree commit diff
path: root/scripts/nix-profile.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-01T11·04+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-01T11·04+0200
commite012c126dbfac37f8f832d1ccbaf469d62e5d1c3 (patch)
tree79ff8b5b1f4038f0692b3524da10e2a2d7190724 /scripts/nix-profile.sh.in
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.
Diffstat (limited to 'scripts/nix-profile.sh.in')
-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 f772d2f711..672d1f035f 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