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.
This commit is contained in:
Eelco Dolstra 2015-11-25 14:45:27 +01:00
parent a0f0733413
commit 27d6ed5c68

View file

@ -97,10 +97,6 @@ let
enableParallelBuilding = true; enableParallelBuilding = true;
sandboxProfile = lib.sandbox.allowFileRead [
"/etc" "/etc/nix/nix.conf" "/private/etc/nix/nix.conf"
];
makeFlags = "profiledir=$(out)/etc/profile.d"; makeFlags = "profiledir=$(out)/etc/profile.d";
preBuild = "unset NIX_INDENT_MAKE"; preBuild = "unset NIX_INDENT_MAKE";