summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-18 11:35:50 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-11 17:25:16 +0200
commitea837e470f70900481d00b0d1cd73e6855c4f70d (patch)
treeabf756d65adfd9350d5a4321983d51121ec8a248
parent790271559cb8b36cd8fcdc533f41be88ec15ad08 (diff)
downloadguix-ea837e470f70900481d00b0d1cd73e6855c4f70d.tar.gz
Doh
-rw-r--r--nix/libstore/build.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index be19dd8b61..05024f5194 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);