forked from lix-project/lix
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
|
@ -2234,6 +2234,7 @@ bool DerivationGoal::pathFailed(const Path & path)
|
||||||
if (printBuildTrace)
|
if (printBuildTrace)
|
||||||
printMsg(lvlError, format("@ build-failed %1% %2% cached") % drvPath % path);
|
printMsg(lvlError, format("@ build-failed %1% %2% cached") % drvPath % path);
|
||||||
|
|
||||||
|
worker.permanentFailure = true;
|
||||||
amDone(ecFailed);
|
amDone(ecFailed);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue