mirror of
https://github.com/NixOS/nix
synced 2025-07-06 05:01:48 +02:00
Make show-trace a config setting
This commit is contained in:
parent
d4dcffd643
commit
75b9670df6
2 changed files with 2 additions and 4 deletions
|
@ -211,7 +211,8 @@ public:
|
|||
bool lockCPU;
|
||||
|
||||
/* Whether to show a stack trace if Nix evaluation fails. */
|
||||
bool showTrace = false;
|
||||
Setting<bool> showTrace{this, false, "show-trace",
|
||||
"Whether to show a stack trace on evaluation errors."};
|
||||
|
||||
Setting<bool> enableNativeCode{this, false, "allow-unsafe-native-code-during-evaluation",
|
||||
"Whether builtin functions that allow executing native code should be enabled."};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue