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