Skip to content

Commit b3b7419

Browse files
committed
Inline inputsRealised
1 parent 4b1753e commit b3b7419

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/libstore/build/derivation-goal.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,7 @@ Goal::Co DerivationGoal::gaveUpOnSubstitution()
382382
}
383383

384384
if (!waitees.empty()) co_await Suspend{}; /* to prevent hang (no wake-up event) */
385-
co_return inputsRealised();
386-
}
387-
388385

389-
Goal::Co DerivationGoal::inputsRealised()
390-
{
391386
trace("all inputs realised");
392387

393388
if (nrFailed != 0) {

src/libstore/build/derivation-goal.hh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ struct DerivationGoal : public Goal
8080
/**
8181
* Mapping from input derivations + output names to actual store
8282
* paths. This is filled in by waiteeDone() as each dependency
83-
* finishes, before inputsRealised() is reached.
83+
* finishes, before `trace("all inputs realised")` is reached.
8484
*/
8585
std::map<std::pair<StorePath, std::string>, StorePath> inputDrvOutputs;
8686

@@ -235,7 +235,6 @@ struct DerivationGoal : public Goal
235235
Co init() override;
236236
Co haveDerivation();
237237
Co gaveUpOnSubstitution();
238-
Co inputsRealised();
239238
Co tryToBuild();
240239
virtual Co tryLocalBuild();
241240
Co buildDone();

0 commit comments

Comments
 (0)