diff options
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index c1cbf362a..b37193b85 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2639,7 +2639,7 @@ void SubstitutionGoal::referencesValid() if (nrFailed > 0) { debug(format("some references of path `%1%' could not be realised") % storePath); - amDone(ecFailed); + amDone(nrNoSubstituters > 0 ? ecNoSubstituters : ecFailed); return; } |