From f9ff67e9487a0085ad6536016791242364ce70d9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 13 Jun 2013 14:46:07 +0200 Subject: In repair mode, update the hash of rebuilt paths Otherwise subsequent invocations of "--repair" will keep rebuilding the path. This only happens if the path content differs between builds (e.g. due to timestamps). --- src/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/build.cc') diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 6fe726a48709..5034e208ecd0 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1673,7 +1673,7 @@ void DerivationGoal::startBuilder() { PathSet missing = outputPaths(drv.outputs); foreach (PathSet::iterator, i, validPaths) missing.erase(*i); - startNest(nest, lvlInfo, format("building path(s) %1%") % showPaths(missing)); + startNest(nest, lvlInfo, format(repair ? "repairing path(s) %1%" : "building path(s) %1%") % showPaths(missing)); /* Right platform? */ if (!canBuildLocally(drv.platform)) -- cgit 1.4.1