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.
1 parent bef3c37 commit bbfaaf3Copy full SHA for bbfaaf3
src/nix/main.cc
@@ -256,8 +256,8 @@ static void showHelp(std::vector<std::string> subcommand, NixArgs & toplevel)
256
vDump->mkString(toplevel.dumpCli());
257
258
auto vRes = state.allocValue();
259
- state.callFunction(*vGenerateManpage, state.getBuiltin("false"), *vRes, noPos);
260
- state.callFunction(*vRes, *vDump, *vRes, noPos);
+ Value * args[]{&state.getBuiltin("false"), vDump};
+ state.callFunction(*vGenerateManpage, args, *vRes, noPos);
261
262
auto attr = vRes->attrs()->get(state.symbols.create(mdName + ".md"));
263
if (!attr)
0 commit comments