1
0
Fork 0
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:
Eelco Dolstra 2018-01-16 19:03:31 +01:00
parent d4dcffd643
commit 75b9670df6
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 2 additions and 4 deletions

View file

@ -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."};