diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-19T00·25+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-19T00·25+0200 |
commit | ee3c5d7916b48d0c3b1cc08044e27209c14acfdc (patch) | |
tree | eb6d72a7f7abf285ff13d9cb732a71a7c39f18e5 /src/libstore/build.cc | |
parent | 2e77bd70faee34cb2518529318a54b39f2d9143e (diff) |
Revert old useBuildHook behaviour
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index d59470603295..4376a8322c42 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1505,7 +1505,7 @@ void DerivationGoal::buildDone() HookReply DerivationGoal::tryBuildHook() { - if (!settings.useBuildHook) return rpDecline; + if (!settings.useBuildHook || getEnv("NIX_BUILD_HOOK") == "") return rpDecline; if (!worker.hook) worker.hook = std::shared_ptr<HookInstance>(new HookInstance); |