1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 01:11:15 +02:00

nix-store --serve: Suppress log output on stderr when repeating a build

This commit is contained in:
Eelco Dolstra 2016-12-06 17:43:39 +01:00
parent 6069b946ad
commit 7a3e7d0e61
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 8 additions and 1 deletions

View file

@ -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);