about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-03-03T20·01-0500
committerShea Levy <shea@shealevy.com>2015-03-03T20·01-0500
commitc2699be93b2bc7e5d9b9f7e1a671006cbd05cb0b (patch)
tree29c06aa9398ca7294e5b9477e7c4ed52866a36c8 /src/libstore
parent66d612f1da47db1c9944f7e76f60c6ccd1c20cdb (diff)
parent336c4270c625cf606d3a2bb141b1a648dba8fc05 (diff)
Merge branch 'allow-system-library' of git://github.com/copumpkin/nix
Make the default impure prefix include all of /System/Library
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 60470a339023..506eb633aae8 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -56,7 +56,7 @@
 /* chroot-like behavior from Apple's sandbox */
 #if __APPLE__
     #define SANDBOX_ENABLED 1
-    #define DEFAULT_ALLOWED_IMPURE_PREFIXES "/System/Library/Frameworks /usr/lib /dev /bin/sh"
+    #define DEFAULT_ALLOWED_IMPURE_PREFIXES "/System/Library /usr/lib /dev /bin/sh"
 #else
     #define SANDBOX_ENABLED 0
     #define DEFAULT_ALLOWED_IMPURE_PREFIXES "/bin" "/usr/bin"