diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-12-06T16·43+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2016-12-06T16·43+0100 |
commit | 7a3e7d0e61a651cb929b88a23f930785cfef3774 (patch) | |
tree | 8137b3314bd3d2a47822f7bf60d1f7abb8caa1cf /src/libstore/build.cc | |
parent | 6069b946ad3db5aa613f2691617fea8bd779c3ce (diff) |
nix-store --serve: Suppress log output on stderr when repeating a build
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index ba51f85917f3..89d363a098b8 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -3047,7 +3047,8 @@ void DerivationGoal::handleEOF(int fd) void DerivationGoal::flushLine() { - if (settings.verboseBuild) + if (settings.verboseBuild && + (settings.printRepeatedBuilds || curRound == 1)) printError(filterANSIEscapes(currentLogLine, true)); else { logTail.push_back(currentLogLine); |