Skip to content

Commit

Permalink
Doh
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Aug 18, 2014
1 parent c160ead commit 632f989
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/libstore/build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 632f989

Please sign in to comment.