diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 2e3875551..232059e70 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1469,12 +1469,9 @@ 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); |