mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
parent
5a3f140856
commit
812e39313c
5 changed files with 34 additions and 10 deletions
|
@ -195,7 +195,13 @@ public:
|
|||
Setting<bool> showTrace{this, false, "show-trace",
|
||||
"Whether to show a stack trace on evaluation errors."};
|
||||
|
||||
Setting<SandboxMode> sandboxMode{this, smDisabled, "sandbox",
|
||||
Setting<SandboxMode> sandboxMode{this,
|
||||
#if __linux__
|
||||
smEnabled
|
||||
#else
|
||||
smDisabled
|
||||
#endif
|
||||
, "sandbox",
|
||||
"Whether to enable sandboxed builds. Can be \"true\", \"false\" or \"relaxed\".",
|
||||
{"build-use-chroot", "build-use-sandbox"}};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue