diff options
author | Graham Christensen <graham@grahamc.com> | 2017-02-14 14:13:39 -0500 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2017-02-14 14:13:39 -0500 |
commit | 7483ba093222371e33d5daa22269992104f401c6 (patch) | |
tree | 8d358c9fb72f3dba19596db489d1ed5ae210f4e3 /nixos/modules/services/misc/nix-daemon.nix | |
parent | 1ab91b2cea031f732596778819f7a8d8a1d6c86d (diff) | |
download | nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.gz nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.bz2 nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.lz nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.xz nixpkgs-7483ba093222371e33d5daa22269992104f401c6.tar.zst nixpkgs-7483ba093222371e33d5daa22269992104f401c6.zip |
Revert "nix-daemon: default useSandbox to true"
This reverts commit d0a086770a1be8c1f3175c195587052c5a5bfe1c.
Diffstat (limited to 'nixos/modules/services/misc/nix-daemon.nix')
-rw-r--r-- | nixos/modules/services/misc/nix-daemon.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index 4c7264f4ac8..7101cadfeed 100644 --- a/nixos/modules/services/misc/nix-daemon.nix +++ b/nixos/modules/services/misc/nix-daemon.nix @@ -100,14 +100,14 @@ in useSandbox = mkOption { type = types.either types.bool (types.enum ["relaxed"]); - default = true; + default = false; description = " If set, Nix will perform builds in a sandboxed environment that it will set up automatically for each build. This prevents impurities in builds by disallowing access to dependencies - outside of the Nix store. It doesn't affect derivation - hashes, so changing this option will not trigger a rebuild - of packages. + outside of the Nix store. This isn't enabled by default for + performance. It doesn't affect derivation hashes, so changing + this option will not trigger a rebuild of packages. "; }; |