about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-13T14·06-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-13T14·06-0400
commite56f71edafce9c60fd5e0c3ed93771b7d911d334 (patch)
tree4b8690a21636bbac3a52e1c700dfdd5e783e5953 /src/libstore
parent4fca02077c4cdea13d32b4665e817460f6502726 (diff)
In startBuilder(), only print the new paths we're building
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 7fc47f3f5294..43565ac024aa 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1523,8 +1523,9 @@ int childEntry(void * arg)
 
 void DerivationGoal::startBuilder()
 {
-    startNest(nest, lvlInfo,
-        format("building path(s) %1%") % showPaths(outputPaths(drv.outputs)))
+    PathSet missing = outputPaths(drv.outputs);
+    foreach (PathSet::iterator, i, validPaths) missing.erase(*i);
+    startNest(nest, lvlInfo, format("building path(s) %1%") % showPaths(missing));
 
     /* Right platform? */
     if (!canBuildLocally(drv.platform))