diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 7fc47f3f5..43565ac02 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))