1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 18:31:49 +02:00

update sandbox profiles within nix

This commit is contained in:
Jude Taylor 2015-11-12 22:51:52 -08:00
parent 8a7f0dfd68
commit 22dfd023fa
2 changed files with 19 additions and 4 deletions

View file

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