Skip to content

Commit ba7bbcd

Browse files
committed
Cleanup Derivation*Goal names
1 parent 682cf0b commit ba7bbcd

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/libstore/build/derivation-building-goal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ DerivationBuildingGoal::DerivationBuildingGoal(
4242
throw;
4343
}
4444

45-
name = fmt("building of '%s' from in-memory derivation", worker.store.printStorePath(drvPath));
45+
name = fmt("building derivation '%s'", worker.store.printStorePath(drvPath));
4646
trace("created");
4747

4848
/* Prevent the .chroot directory from being

src/libstore/build/derivation-goal.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ DerivationGoal::DerivationGoal(
4343
{
4444
this->drv = std::make_unique<Derivation>(drv);
4545

46-
name =
47-
fmt("building of '%s' from in-memory derivation",
48-
DerivedPath::Built{makeConstantStorePathRef(drvPath), drv.outputNames()}.to_string(worker.store));
46+
name = fmt("getting output '%s' from derivation '%s'", wantedOutput, worker.store.printStorePath(drvPath));
4947
trace("created");
5048

5149
mcExpectedBuilds = std::make_unique<MaintainCount<uint64_t>>(worker.expectedBuilds);

src/libstore/build/derivation-trampoline-goal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ DerivationTrampolineGoal::DerivationTrampolineGoal(
3131
void DerivationTrampolineGoal::commonInit()
3232
{
3333
name =
34-
fmt("outer obtaining drv from '%s' and then building outputs %s",
34+
fmt("obtaining derivation from '%s' and then building outputs %s",
3535
drvReq->to_string(worker.store),
3636
std::visit(
3737
overloaded{

0 commit comments

Comments
 (0)