nix-gh/src/libmain
Matthew Bauer 8f186722a9 Set backup MANPATH in case man path isn’t set correctly.
Previously, this would fail at startup for non-NixOS installs:

nix-env --help

The fix for this is to just use "nixManDir" as the value for MANPATH
when spawning "man".

To test this, I’m using the following:

$ nix-build release.nix -A build
$ MANPATH= ./result/bin/nix-env --help

Fixes #1627
2018-02-15 10:20:02 -06:00
..
common-args.cc nix-env: Fix parsing of --system 2018-02-08 15:25:03 +01:00
common-args.hh Factor out --json 2017-04-24 14:21:36 +02:00
local.mk Doh 2016-02-22 17:33:27 +01:00
nix-main.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
shared.cc Set backup MANPATH in case man path isn’t set correctly. 2018-02-15 10:20:02 -06:00
shared.hh Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
stack.cc src/libmain/stack.cc: fix 'ucontext' usage on glibc-2.26 2017-08-31 21:41:36 +01:00