diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-17 15:55:30 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-17 15:55:30 -0400 |
commit | 3a9fdf2747bc7436fc3c1fd5f9accd5675d4295e (patch) | |
tree | 56cda585c457ff63838095a9519666985cdc60c5 /src | |
parent | 1217204c81b0b6f02df99adfc8414a181299535c (diff) | |
download | guix-3a9fdf2747bc7436fc3c1fd5f9accd5675d4295e.tar.gz |
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')
-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 12940e268c..26268f6ddb 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; |