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

Make appendLogTailErrorMsg as class method after all

The other parameters it took were somewhat implementation-specific.
This commit is contained in:
John Ericson 2025-03-16 16:48:41 -04:00
parent 89ba6dff66
commit e83ef7a477
3 changed files with 6 additions and 15 deletions

View file

@ -623,7 +623,7 @@ Goal::Co LocalDerivationGoal::tryLocalBuild()
Magenta(worker.store.printStorePath(drvPath)),
statusToString(status));
appendLogTailErrorMsg(worker.store, drvPath, logTail, msg);
appendLogTailErrorMsg(msg);
if (diskFull)
msg += "\nnote: build failure may have been caused by lack of free disk space";