Merge pull request #6620 from maralorn/fix-print-missing

respect print-missing variable in new-style build command
This commit is contained in:
Théophane Hufschmitt 2022-06-16 13:23:15 +02:00 committed by GitHub
commit 7e301fd74e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -920,6 +920,9 @@ std::vector<std::pair<std::shared_ptr<Installable>, BuiltPath>> Installable::bui
break; break;
case Realise::Outputs: { case Realise::Outputs: {
if (settings.printMissing)
printMissing(store, pathsToBuild, lvlInfo);
for (auto & buildResult : store->buildPathsWithResults(pathsToBuild, bMode, evalStore)) { for (auto & buildResult : store->buildPathsWithResults(pathsToBuild, bMode, evalStore)) {
if (!buildResult.success()) if (!buildResult.success())
buildResult.rethrow(); buildResult.rethrow();