Skip to content

Commit

Permalink
libstore: disable resolve-system-dependencies hook
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LnL7 committed Mar 20, 2020
1 parent db88cb4 commit afb78eb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/libstore/globals.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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."};

Expand Down

0 comments on commit afb78eb

Please sign in to comment.