From 790271559cb8b36cd8fcdc533f41be88ec15ad08 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 17 Aug 2014 19:11:50 +0200 Subject: [PATCH] Reduce verbosity --- nix/libstore/build.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index e72fb50d8e..be19dd8b61 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -1451,7 +1451,8 @@ void DerivationGoal::buildDone() outputLocks.unlock(); } catch (BuildError & e) { - printMsg(lvlError, e.msg()); + if (!hook) + printMsg(lvlError, e.msg()); outputLocks.unlock(); buildUser.release();