This commit is contained in:
Eelco Dolstra 2014-08-18 11:35:50 +02:00 committed by Ludovic Courtès
parent 790271559c
commit ea837e470f
1 changed files with 1 additions and 4 deletions

View File

@ -1481,12 +1481,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);