mirror of
https://github.com/NixOS/nix
synced 2025-07-03 02:01:48 +02:00
* Flag `--no-build-hook' to disable distributed builds.
* queryDeriver in daemon mode: don't barf if the other side returns an empty string (which means there is no deriver).
This commit is contained in:
parent
c05783ad67
commit
c370755583
9 changed files with 23 additions and 6 deletions
|
@ -1247,6 +1247,7 @@ static string makeValidityRegistration(const PathSet & paths,
|
|||
|
||||
DerivationGoal::HookReply DerivationGoal::tryBuildHook()
|
||||
{
|
||||
if (!useBuildHook) return rpDecline;
|
||||
Path buildHook = getEnv("NIX_BUILD_HOOK");
|
||||
if (buildHook == "") return rpDecline;
|
||||
buildHook = absPath(buildHook);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue