1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

Revert "Enable sandbox builds on Linux by default"

This reverts commit ddc58e7896.

https://hydra.nixos.org/eval/1435322
This commit is contained in:
Eelco Dolstra 2018-02-22 14:19:20 +01:00
parent eaa52c34b4
commit e8d53bfdc9
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 1 additions and 11 deletions

View file

@ -220,13 +220,7 @@ public:
Setting<bool> enableNativeCode{this, false, "allow-unsafe-native-code-during-evaluation",
"Whether builtin functions that allow executing native code should be enabled."};
Setting<SandboxMode> sandboxMode{this,
#if __linux__
smEnabled
#else
smDisabled
#endif
, "sandbox",
Setting<SandboxMode> sandboxMode{this, smDisabled, "sandbox",
"Whether to enable sandboxed builds. Can be \"true\", \"false\" or \"relaxed\".",
{"build-use-chroot", "build-use-sandbox"}};