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:
parent
a0f0733413
commit
27d6ed5c68
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue