Automatically fall back if the references of a substitute are not substitutable
Fixes #77.
This commit is contained in:
parent
82248abd8f
commit
1b3a78a459
|
@ -2639,7 +2639,7 @@ void SubstitutionGoal::referencesValid()
|
||||||
|
|
||||||
if (nrFailed > 0) {
|
if (nrFailed > 0) {
|
||||||
debug(format("some references of path `%1%' could not be realised") % storePath);
|
debug(format("some references of path `%1%' could not be realised") % storePath);
|
||||||
amDone(ecFailed);
|
amDone(nrNoSubstituters > 0 ? ecNoSubstituters : ecFailed);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue