civodul pushed a commit to branch nix
in repository guix.

commit ea837e470f70900481d00b0d1cd73e6855c4f70d
Author: Eelco Dolstra <[email protected]>
Date:   Mon Aug 18 11:35:50 2014 +0200

    Doh
---
 nix/libstore/build.cc |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index be19dd8..05024f5 100644
--- a/nix/libstore/build.cc
+++ b/nix/libstore/build.cc
@@ -1481,12 +1481,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);

Reply via email to