Fix build log output in nix-store --serve
This commit is contained in:
parent
d2c58ba605
commit
5c0bd51d49
1 changed files with 1 additions and 1 deletions
|
@ -3029,7 +3029,7 @@ void DerivationGoal::handleEOF(int fd)
|
||||||
void DerivationGoal::flushLine()
|
void DerivationGoal::flushLine()
|
||||||
{
|
{
|
||||||
if (settings.verboseBuild)
|
if (settings.verboseBuild)
|
||||||
printInfo(filterANSIEscapes(currentLogLine, true));
|
printError(filterANSIEscapes(currentLogLine, true));
|
||||||
else {
|
else {
|
||||||
logTail.push_back(currentLogLine);
|
logTail.push_back(currentLogLine);
|
||||||
if (logTail.size() > settings.logLines) logTail.pop_front();
|
if (logTail.size() > settings.logLines) logTail.pop_front();
|
||||||
|
|
Loading…
Reference in a new issue