mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Inline closureRepaired
This commit is contained in:
parent
41274f3c3e
commit
57463ab910
2 changed files with 6 additions and 12 deletions
|
@ -457,19 +457,14 @@ Goal::Co DerivationGoal::repairClosure()
|
|||
co_return done(BuildResult::AlreadyValid, assertPathValidity());
|
||||
} else {
|
||||
co_await Suspend{};
|
||||
co_return closureRepaired();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Goal::Co DerivationGoal::closureRepaired()
|
||||
{
|
||||
trace("closure repaired");
|
||||
if (nrFailed > 0)
|
||||
throw Error("some paths in the output closure of derivation '%s' could not be repaired",
|
||||
worker.store.printStorePath(drvPath));
|
||||
co_return done(BuildResult::AlreadyValid, assertPathValidity());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Goal::Co DerivationGoal::inputsRealised()
|
||||
|
|
|
@ -237,7 +237,6 @@ struct DerivationGoal : public Goal
|
|||
Co loadDerivation();
|
||||
Co haveDerivation();
|
||||
Co gaveUpOnSubstitution();
|
||||
Co closureRepaired();
|
||||
Co inputsRealised();
|
||||
Co tryToBuild();
|
||||
virtual Co tryLocalBuild();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue