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:
parent
8a7f0dfd68
commit
22dfd023fa
2 changed files with 19 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue