mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
simplify build permissions
This commit is contained in:
parent
d760c2638c
commit
4876bb012e
2 changed files with 6 additions and 17 deletions
|
@ -97,10 +97,9 @@ let
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
__sandboxProfile = lib.sandbox.allowNetwork
|
||||
+ lib.sandbox.allowFileRead {
|
||||
literal = [ "/etc" "/etc/nix/nix.conf" "/private/etc/nix/nix.conf" ];
|
||||
};
|
||||
__sandboxProfile = lib.sandbox.allowFileRead [
|
||||
"/etc" "/etc/nix/nix.conf" "/private/etc/nix/nix.conf"
|
||||
];
|
||||
|
||||
makeFlags = "profiledir=$(out)/etc/profile.d";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue