1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

simplify build permissions

This commit is contained in:
Jude Taylor 2015-11-14 13:52:33 -08:00
parent d760c2638c
commit 4876bb012e
2 changed files with 6 additions and 17 deletions

View file

@ -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";