about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-11-25T13·45+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-11-25T13·45+0100
commit27d6ed5c683a9eaf0150d2f3573434a559580d37 (patch)
tree98723166cb8adc38968bd0c92d516a07a80342e3
parenta0f073341320b4e66ebc8059a0d29ed9db8ea4ec (diff)
Remove sandboxProfile from release.nix
There is really no conceivable reason why building Nix would need
access to the host's nix.conf. If it does, it's a bug, and we should
fix that instead.
-rw-r--r--release.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/release.nix b/release.nix
index 0ee75e9a8b76..4269a3f76d8c 100644
--- a/release.nix
+++ b/release.nix
@@ -97,10 +97,6 @@ let
 
         enableParallelBuilding = true;
 
-        sandboxProfile = lib.sandbox.allowFileRead [
-          "/etc" "/etc/nix/nix.conf" "/private/etc/nix/nix.conf"
-        ];
-
         makeFlags = "profiledir=$(out)/etc/profile.d";
 
         preBuild = "unset NIX_INDENT_MAKE";