summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-17 19:11:50 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-11 17:25:13 +0200
commit790271559cb8b36cd8fcdc533f41be88ec15ad08 (patch)
treefdc6abcd8871204fd49fd2bc76fd1bbeb9a7b88b
parent3f6d4f63ec0d1d6cfc3233998b7dd9608b2f6ff3 (diff)
downloadguix-790271559cb8b36cd8fcdc533f41be88ec15ad08.tar.gz
Reduce verbosity
-rw-r--r--nix/libstore/build.cc3
1 files changed, 2 insertions, 1 deletions
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();