From 2dc8e19a1792bf13fd05693aca47a7063e3f68d4 Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Wed, 21 Oct 2015 14:38:49 -0700 Subject: [PATCH] restore old DEFAULT_ALLOWED_IMPURE_PREFIXES --- src/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"