From 632f989b51985a0036fca5502d9a341b7cded324 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 18 Aug 2014 11:35:50 +0200 Subject: [PATCH] Doh --- src/libstore/build.cc | 5 +---- 1 file changed, 1 insertion(+), 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);