diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-01-02 22:35:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 22:35:23 +0100 |
commit | a75b7ba30f1e4f8b15e810fd18e63ee9552e0815 (patch) | |
tree | 9b9ef12664a5f14be0cf8c5bba1edb54ae4b651f /src/nix/main.cc | |
parent | 9af16c5f742300e831a2cc400e43df1e22f87f31 (diff) | |
parent | d33d15a48b55eb81270a39b001c04bc61c42105f (diff) |
Merge pull request #6204 from layus/coerce-string
Add context to better locate runtime coercions
Diffstat (limited to 'src/nix/main.cc')
-rw-r--r-- | src/nix/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc index 2c6309c81..d3d2f5b16 100644 --- a/src/nix/main.cc +++ b/src/nix/main.cc @@ -199,7 +199,7 @@ static void showHelp(std::vector<std::string> subcommand, MultiCommand & topleve if (!attr) throw UsageError("Nix has no subcommand '%s'", concatStringsSep("", subcommand)); - auto markdown = state.forceString(*attr->value); + auto markdown = state.forceString(*attr->value, noPos, "while evaluating the lowdown help text"); RunPager pager; std::cout << renderMarkdownToTerminal(markdown) << "\n"; |