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

View file

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