mirror of
https://github.com/NixOS/nix.git
synced 2024-11-24 15:52:30 +00:00
PathSubstitutionGoal: Fix spurious "failed" count in the progress bar
It is not an error if queryPathInfo() indicates that a path does not exist in the substituter. Fixes #11198. This was broken in846869da0e
. (cherry picked from commit0a00bd07b2
)
This commit is contained in:
parent
2382a52c84
commit
fa78d7f72f
@ -145,8 +145,10 @@ Goal::Co PathSubstitutionGoal::init()
|
||||
/* None left. Terminate this goal and let someone else deal
|
||||
with it. */
|
||||
|
||||
if (substituterFailed) {
|
||||
worker.failedSubstitutions++;
|
||||
worker.updateProgress();
|
||||
}
|
||||
|
||||
/* Hack: don't indicate failure if there were no substituters.
|
||||
In that case the calling derivation should just do a
|
||||
|
Loading…
Reference in New Issue
Block a user