about summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2015-11-14 13:51:50 -0800
committerJude Taylor <me@jude.bio>2015-11-19 11:31:06 -0800
commit131e831cb97c9762c3b10b35ae3c2094366a5886 (patch)
treeb5aa3b5dcdbaa7ec97b38a5199c9df150e5b1c3f /pkgs/stdenv
parent163acc0efa2a378b8f3fe74a6350e1a0e179d5f2 (diff)
allow networking by default and remove it from derivations
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/pure-darwin/standard-sandbox.sb3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/stdenv/pure-darwin/standard-sandbox.sb b/pkgs/stdenv/pure-darwin/standard-sandbox.sb
index 32a9116215275..b87be89f35f21 100644
--- a/pkgs/stdenv/pure-darwin/standard-sandbox.sb
+++ b/pkgs/stdenv/pure-darwin/standard-sandbox.sb
@@ -67,3 +67,6 @@
 (allow mach-lookup
        (global-name "com.apple.system.notification_center")
        (global-name "com.apple.system.opendirectoryd.libinfo"))
+
+; allow networking on localhost
+(allow network* (local ip) (remote unix-socket))