about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/globals.cc
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-23T23·48+0100
committerVincent Ambo <tazjin@google.com>2020-05-24T01·13+0100
commit10481d25861f1c25b53cfbd8119199ef2e918f9f (patch)
treee89d668351fa12faa7b1508c2a7a68582d48bf22 /third_party/nix/src/libstore/globals.cc
parentbac38f3c49db6d9a85ba447d164d35811dfdc8f9 (diff)
chore(3p/nix): Remove some OS X specific defines r/834
This project will be dropping OS X support until the core is simplified.
Diffstat (limited to 'third_party/nix/src/libstore/globals.cc')
-rw-r--r--third_party/nix/src/libstore/globals.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/third_party/nix/src/libstore/globals.cc b/third_party/nix/src/libstore/globals.cc
index 066de443653b..856b858368ef 100644
--- a/third_party/nix/src/libstore/globals.cc
+++ b/third_party/nix/src/libstore/globals.cc
@@ -19,12 +19,8 @@ namespace nix {
    must be deleted and recreated on startup.) */
 #define DEFAULT_SOCKET_PATH "/daemon-socket/socket"
 
-/* chroot-like behavior from Apple's sandbox */
-#if __APPLE__
-#define DEFAULT_ALLOWED_IMPURE_PREFIXES "/System/Library /usr/lib /dev /bin/sh"
-#else
+// TODO(tazjin): this was __APPLE__ specific, still needed?
 #define DEFAULT_ALLOWED_IMPURE_PREFIXES ""
-#endif
 
 Settings settings;