tvl-depot/scripts
Alexey Shmalko eef754813f 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.
2016-07-29 12:00:11 +02:00
..
build-remote.pl.in nix-copy-closure / build-remote.pl: Disable signature checking 2016-05-31 11:48:05 +02:00
download-from-binary-cache.pl.in Verify TLS certificate before downloading binaries 2016-01-05 14:19:46 +01:00
install-nix-from-closure.sh Fix reference to $NIX_LINK 2016-05-31 15:14:24 +02:00
local.mk Merge branch 'find-runtime-roots-c++' 2016-07-24 07:33:49 -04:00
nix-build.in Merge pull request #883 from sheenobu/bugfix/ruby_shebang 2016-05-03 11:14:21 +02:00
nix-channel.in Remove manifest support 2016-04-11 16:20:15 +02:00
nix-copy-closure.in nix-copy-closure / build-remote.pl: Disable signature checking 2016-05-31 11:48:05 +02:00
nix-http-export.cgi.in Replace wrong (w.r.t. PATH) sed call with in-shell substitution 2009-02-19 20:46:45 +00:00
nix-install-package.in Remove manifest support 2016-04-11 16:20:15 +02:00
nix-profile.sh.in Set $MANPATH (#1005) 2016-07-29 12:00:11 +02:00
nix-push.in Add C++ functions for .narinfo processing / signing 2016-02-16 16:38:44 +01:00
nix-reduce-build.in Add support for ‘make installcheck’ 2013-11-25 18:47:03 +01:00
resolve-system-dependencies.pl.in reintroduce host deps in tandem with sandbox profiles 2015-11-21 15:57:06 -08:00
show-duplication.pl * `show-duplication.pl', a small utility that shows the amount of 2006-09-19 13:53:35 +00:00