mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
eef754813f
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. |
||
---|---|---|
.. | ||
build-remote.pl.in | ||
download-from-binary-cache.pl.in | ||
install-nix-from-closure.sh | ||
local.mk | ||
nix-build.in | ||
nix-channel.in | ||
nix-copy-closure.in | ||
nix-http-export.cgi.in | ||
nix-install-package.in | ||
nix-profile.sh.in | ||
nix-push.in | ||
nix-reduce-build.in | ||
resolve-system-dependencies.pl.in | ||
show-duplication.pl |