diff options
Diffstat (limited to 'src/libstore/build/worker.cc')
-rw-r--r-- | src/libstore/build/worker.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc index 402cdc5b4..25b20511b 100644 --- a/src/libstore/build/worker.cc +++ b/src/libstore/build/worker.cc @@ -300,6 +300,19 @@ void Worker::run(const Goals & _topGoals) for (auto & goal : awake2) { checkInterrupt(); goal->work(); + + actDerivations.progress( + doneBuilds, expectedBuilds + doneBuilds, runningBuilds, failedBuilds + ); + actSubstitutions.progress( + doneSubstitutions, + expectedSubstitutions + doneSubstitutions, + runningSubstitutions, + failedSubstitutions + ); + act.setExpected(actFileTransfer, expectedDownloadSize + doneDownloadSize); + act.setExpected(actCopyPath, expectedNarSize + doneNarSize); + if (topGoals.empty()) break; // stuff may have been cancelled } } |