We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cca4e8c + 95f16a3 commit dfb5b2cCopy full SHA for dfb5b2c
src/nix/man-pages.cc
@@ -13,7 +13,7 @@ std::filesystem::path getNixManDir()
13
void showManPage(const std::string & name)
14
{
15
restoreProcessContext();
16
- setEnv("MANPATH", getNixManDir().c_str());
+ setEnv("MANPATH", (getNixManDir().string() + ":").c_str());
17
execlp("man", "man", name.c_str(), nullptr);
18
if (errno == ENOENT) {
19
// Not SysError because we don't want to suffix the errno, aka No such file or directory.
0 commit comments