about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-18T09·35+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-18T09·35+0200
commit632f989b51985a0036fca5502d9a341b7cded324 (patch)
treeb2f5269cfc9a4a49a7e20459b16567ad8747b2f3 /src/libstore
parentc160ead82f6a36b5a3efbb36241e567d1e2388cc (diff)
Doh
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc5
1 files changed, 1 insertions, 4 deletions
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);