diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-11-16 15:02:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 15:02:18 +0100 |
commit | 184a20ec04eb79272999babe5a4105b6755b9b3d (patch) | |
tree | f5025f52a4baba4606d1a13964665bd882ee62d3 /src | |
parent | 78fd62139714bc68a682572e303b7e3c52f988f2 (diff) | |
parent | a68bf15fe6d45588986bb13e9c294f594cb5dd57 (diff) |
Merge pull request #9334 from fricklerhandwerk/backport-2.18-fix-anchors
backport fix for the `--help` output to 2.18
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc index d05bac68e..eb510eecc 100644 --- a/src/nix/main.cc +++ b/src/nix/main.cc @@ -218,7 +218,8 @@ static void showHelp(std::vector<std::string> subcommand, NixArgs & toplevel) vDump->mkString(toplevel.dumpCli()); auto vRes = state.allocValue(); - state.callFunction(*vGenerateManpage, *vDump, *vRes, noPos); + state.callFunction(*vGenerateManpage, state.getBuiltin("false"), *vRes, noPos); + state.callFunction(*vRes, *vDump, *vRes, noPos); auto attr = vRes->attrs->get(state.symbols.create(mdName + ".md")); if (!attr) |