From 632f989b51985a0036fca5502d9a341b7cded324 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 18 Aug 2014 11:35:50 +0200 Subject: Doh --- src/libstore/build.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/libstore/build.cc') diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 2e3875551d4f..232059e70db0 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); -- cgit 1.4.1