mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Make function calls show up in stack traces again
Note that adding --show-trace prevents functions calls from being tail-recursive, so an expression that evaluates without --show-trace may fail with a stack overflow if --show-trace is given.
This commit is contained in:
parent
2bcb384e95
commit
89e6781cc5
4 changed files with 34 additions and 25 deletions
|
@ -186,6 +186,9 @@ struct Settings {
|
|||
/* Whether to lock the Nix client and worker to the same CPU. */
|
||||
bool lockCPU;
|
||||
|
||||
/* Whether to show a stack trace if Nix evaluation fails. */
|
||||
bool showTrace;
|
||||
|
||||
private:
|
||||
SettingsMap settings, overrides;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue