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

Cleanup Derivation*Goal names

This commit is contained in:
John Ericson 2025-10-11 18:30:27 -04:00
parent 682cf0b266
commit ba7bbcd1da
3 changed files with 3 additions and 5 deletions

View file

@ -42,7 +42,7 @@ DerivationBuildingGoal::DerivationBuildingGoal(
throw;
}
name = fmt("building of '%s' from in-memory derivation", worker.store.printStorePath(drvPath));
name = fmt("building derivation '%s'", worker.store.printStorePath(drvPath));
trace("created");
/* Prevent the .chroot directory from being

View file

@ -43,9 +43,7 @@ DerivationGoal::DerivationGoal(
{
this->drv = std::make_unique<Derivation>(drv);
name =
fmt("building of '%s' from in-memory derivation",
DerivedPath::Built{makeConstantStorePathRef(drvPath), drv.outputNames()}.to_string(worker.store));
name = fmt("getting output '%s' from derivation '%s'", wantedOutput, worker.store.printStorePath(drvPath));
trace("created");
mcExpectedBuilds = std::make_unique<MaintainCount<uint64_t>>(worker.expectedBuilds);

View file

@ -31,7 +31,7 @@ DerivationTrampolineGoal::DerivationTrampolineGoal(
void DerivationTrampolineGoal::commonInit()
{
name =
fmt("outer obtaining drv from '%s' and then building outputs %s",
fmt("obtaining derivation from '%s' and then building outputs %s",
drvReq->to_string(worker.store),
std::visit(
overloaded{