diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2018-02-15T16·37+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-15T16·37+0100 |
commit | 3a5a241b3209f14f8801b902ba20b5cb0666c9df (patch) | |
tree | 5e763196ddad940b5d8c34bedb91cc9df86d790b /src/libstore/globals.cc | |
parent | d26b71fda61196033c27cbac0ffed2a94fd1fe4c (diff) | |
parent | 8f186722a97882ba41330684f37bfe8b8637eba8 (diff) |
Merge pull request #1873 from matthewbauer/fix-manpath
Set MANPATH in case man path isn’t set correctly.
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r-- | src/libstore/globals.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index c6b508cbe82f..247040606fb7 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -38,6 +38,7 @@ Settings::Settings() , nixConfDir(canonPath(getEnv("NIX_CONF_DIR", NIX_CONF_DIR))) , nixLibexecDir(canonPath(getEnv("NIX_LIBEXEC_DIR", NIX_LIBEXEC_DIR))) , nixBinDir(canonPath(getEnv("NIX_BIN_DIR", NIX_BIN_DIR))) + , nixManDir(canonPath(NIX_MAN_DIR)) , nixDaemonSocketFile(canonPath(nixStateDir + DEFAULT_SOCKET_PATH)) { buildUsersGroup = getuid() == 0 ? "nixbld" : ""; |