about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2015-11-14T21·52-0800
committerJude Taylor <me@jude.bio>2015-11-14T22·11-0800
commit4876bb012e78e6e397f34fd7fb91f67520cbd744 (patch)
tree8d73becfd9ae25f6f2039fc98c2bd01018bff98d /release.nix
parentd760c2638c9e1f4b8cd9b4ec90d68bf0c76a800b (diff)
simplify build permissions
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/release.nix b/release.nix
index cb391d0ffa61..8935cfa19680 100644
--- a/release.nix
+++ b/release.nix
@@ -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";