1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

Inline inputsRealised

This commit is contained in:
John Ericson 2025-02-01 18:37:54 -05:00
parent 4b1753e661
commit b3b741973e
2 changed files with 1 additions and 7 deletions

View file

@ -382,12 +382,7 @@ Goal::Co DerivationGoal::gaveUpOnSubstitution()
}
if (!waitees.empty()) co_await Suspend{}; /* to prevent hang (no wake-up event) */
co_return inputsRealised();
}
Goal::Co DerivationGoal::inputsRealised()
{
trace("all inputs realised");
if (nrFailed != 0) {

View file

@ -80,7 +80,7 @@ struct DerivationGoal : public Goal
/**
* Mapping from input derivations + output names to actual store
* paths. This is filled in by waiteeDone() as each dependency
* finishes, before inputsRealised() is reached.
* finishes, before `trace("all inputs realised")` is reached.
*/
std::map<std::pair<StorePath, std::string>, StorePath> inputDrvOutputs;
@ -235,7 +235,6 @@ struct DerivationGoal : public Goal
Co init() override;
Co haveDerivation();
Co gaveUpOnSubstitution();
Co inputsRealised();
Co tryToBuild();
virtual Co tryLocalBuild();
Co buildDone();