From 27d6ed5c683a9eaf0150d2f3573434a559580d37 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 25 Nov 2015 14:45:27 +0100 Subject: [PATCH] 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. --- release.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/release.nix b/release.nix index 0ee75e9a8..4269a3f76 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";