diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-02T11·00+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-02T11·00+0100 |
commit | 1b3a78a4597c6c1d94fc51aa0520252aab21a2c8 (patch) | |
tree | 1ac15766a23659cd90e71775458f21174f616252 /src | |
parent | 82248abd8f2967f72b965c0ba7774815068c4962 (diff) |
Automatically fall back if the references of a substitute are not substitutable
Fixes #77.
Diffstat (limited to 'src')
-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 c1cbf362a0c5..b37193b858c0 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; } |