about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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))