mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* Fix the `--fallback' switch.
* Fix the substitutes tests.
This commit is contained in:
parent
581fc47783
commit
c6290e42bc
10 changed files with 35 additions and 87 deletions
|
@ -472,6 +472,12 @@ void DerivationGoal::outputsSubstituted()
|
|||
{
|
||||
trace("all outputs substituted (maybe)");
|
||||
|
||||
if (nrFailed > 0 && !tryFallback) {
|
||||
throw Error(format("some substitutes for the outputs of derivation `%1%' failed; try `--fallback'") % drvPath);
|
||||
}
|
||||
|
||||
nrFailed = 0;
|
||||
|
||||
if (checkPathValidity(false).size() == 0) {
|
||||
amDone(true);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue