aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2020-03-20 21:21:56 +0100
committerDaiderd Jordan <daiderd@gmail.com>2020-03-20 21:21:56 +0100
commitafb78ebd34bff9a701d70041abc2ff211390584e (patch)
tree5e5093f0dceeea9a8bab86b3c97c46175e5d1a02 /src/libstore
parentdb88cb401ba07f0c2a4c0dca3e66fc33f2029e46 (diff)
libstore: disable resolve-system-dependencies hook
This is used to determine the dependency tree of impure libraries so nix knows what paths to open in the sandbox. With the less restrictive defaults it isn't needed anymore.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/globals.hh7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index 782870547..3aa3653f3 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -311,12 +311,7 @@ public:
Setting<bool> printMissing{this, true, "print-missing",
"Whether to print what paths need to be built or downloaded."};
- Setting<std::string> preBuildHook{this,
-#if __APPLE__
- nixLibexecDir + "/nix/resolve-system-dependencies",
-#else
- "",
-#endif
+ Setting<std::string> preBuildHook{this, "",
"pre-build-hook",
"A program to run just before a build to set derivation-specific build settings."};