3
0
Fork 0
forked from mirrors/nixpkgs

Revert "nix-daemon: default useSandbox to true"

This reverts commit d0a086770a.
This commit is contained in:
Graham Christensen 2017-02-14 14:13:39 -05:00
parent 1ab91b2cea
commit 7483ba0932
No known key found for this signature in database
GPG key ID: 06121D366FE9435C
2 changed files with 4 additions and 8 deletions

View file

@ -30,10 +30,6 @@ has the following highlights: </para>
<listitem>
<para>PHP now defaults to PHP 7.1</para>
</listitem>
<listitem>
<para>nix-daemon now uses sandboxing by default.</para>
</listitem>
</itemizedlist>
<para>The following new services were added since the last release:</para>

View file

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