aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2015-10-21 14:38:49 -0700
committerJude Taylor <me@jude.bio>2015-10-21 14:38:49 -0700
commit2dc8e19a1792bf13fd05693aca47a7063e3f68d4 (patch)
tree0e6abe6bee188f4f353c6bcdcb00a97c8e227f2d /src
parentf5a7739171a877dfb29876d673d1720a1c9bf6bc (diff)
restore old DEFAULT_ALLOWED_IMPURE_PREFIXES
Diffstat (limited to 'src')
-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 0dac1377d..19250fe24 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -59,8 +59,8 @@
/* chroot-like behavior from Apple's sandbox */
#if __APPLE__
#define SANDBOX_ENABLED 1
- #define DEFAULT_ALLOWED_IMPURE_PREFIXES "/System/Library /usr /dev /bin/sh"
#define DARWIN_PREBUILD 1
+ #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"