diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-17T19·55-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-17T19·55-0400 |
commit | 3a9fdf2747bc7436fc3c1fd5f9accd5675d4295e (patch) | |
tree | 56cda585c457ff63838095a9519666985cdc60c5 /src/libstore | |
parent | 1217204c81b0b6f02df99adfc8414a181299535c (diff) |
Return an exit code of 100 for cached failed builds
Exit code 100 should be returned for all permanent failures. This includes cached failures. Fixes #34.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 12940e268c74..26268f6ddb7d 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2234,6 +2234,7 @@ bool DerivationGoal::pathFailed(const Path & path) if (printBuildTrace) printMsg(lvlError, format("@ build-failed %1% %2% cached") % drvPath % path); + worker.permanentFailure = true; amDone(ecFailed); return true; |