This commit is contained in:
Eelco Dolstra 2014-08-18 11:35:50 +02:00
parent c160ead82f
commit 632f989b51

View file

@ -1469,13 +1469,10 @@ void DerivationGoal::buildDone()
(e.g., fetchurl not being able to access the network).
Hook errors (like communication problems with the
remote machine) shouldn't be cached either. */
if (/* settings.cacheFailure && */ !fixedOutput && !diskFull)
{
printMsg(lvlError, "REG");
if (settings.cacheFailure && !fixedOutput && !diskFull)
foreach (DerivationOutputs::iterator, i, drv.outputs)
worker.store.registerFailedPath(i->second.path);
}
}
amDone(ecFailed);
return;