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

appendLogTailErrorMsg: Take a "smaller" arugment

We just need a `const Store &`, not a `Worker &`.
This commit is contained in:
John Ericson 2025-03-24 11:24:16 -04:00
parent 1988dc0c73
commit c121daf331
3 changed files with 5 additions and 5 deletions

View file

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