Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: eef754813f5a9d77ceeb0f10981d0a324967dc02
https://github.com/NixOS/nix/commit/eef754813f5a9d77ceeb0f10981d0a324967dc02
Author: Alexey Shmalko <[email protected]>
Date: 2016-07-29 (Fri, 29 Jul 2016)
Changed paths:
M scripts/nix-profile.sh.in
Log Message:
-----------
Set $MANPATH (#1005)
Currently, man has issues finding man pages for Nix-installed
application (also, `nix-env --help` doesn't work). The issue is caused
by custom `$MANPATH` set by my system. That makes man use it instead of
searching in default location.
Either of next lines workaround the issue:
```sh
unset MANPATH
export MANPATH=$HOME/.nix-profile/share/man:$MANPATH
```
This patch adds the later line to the `nix-profile.sh` if user has
`MANPATH` set. (Not clearing `MANPATH` as that would be disrespect of
user's preferences.)
As a side-effect, host's man might find man pages installed by Nix.
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits