In startBuilder(), only print the new paths we're building

This commit is contained in:
Eelco Dolstra 2012-09-13 10:06:24 -04:00
parent 4fca02077c
commit e56f71edaf

View file

@ -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))