Merge branch 'allow-system-library' of git://github.com/copumpkin/nix

Make the default impure prefix include all of /System/Library
This commit is contained in:
Shea Levy 2015-03-03 15:01:09 -05:00
commit c2699be93b

View file

@ -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"