From b52846ab5b5d1317a6f7a5967e35b360a731b9c6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 28 Nov 2017 15:36:28 +0100 Subject: [PATCH] Show log tail when a remote build fails --- src/libstore/build.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 061682377..866964a4c 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1608,8 +1608,8 @@ void DerivationGoal::buildDone() outputLocks.unlock(); } catch (BuildError & e) { - if (!hook) - printError(e.msg()); + printError(e.msg()); + outputLocks.unlock(); BuildResult::Status st = BuildResult::MiscFailure;