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.
This commit is contained in:
parent
1217204c81
commit
3a9fdf2747
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue