tribuchet: building on eliza Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/0s2iv7zdrbza6lg3y61l421a6a3hv98l-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Running: $ pre-commit run --all-files check-merge-conflicts....................................................Passed check-merge-conflicts-2..................................................Passed clang-format.............................................................Failed - hook id: clang-format - files were modified by this hook meson-format.............................................................Passed nixfmt...................................................................Passed shellcheck...............................................................Failed - hook id: shellcheck - exit code: 1 In tests/functional/ca/scratch-path.sh line 10: drv=' ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that. For more information: https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl... zizmor...................................................................Passed diff --git a/src/libstore/build/derivation-building-goal.cc b/src/libstore/build/derivation-building-goal.cc index 4d448b9..6c0f564 100644 --- a/src/libstore/build/derivation-building-goal.cc +++ b/src/libstore/build/derivation-building-goal.cc @@ -1046,8 +1046,7 @@ Goal::Co DerivationBuildingGoal::buildLocally( || settings.extraPlatforms.get().count(drv->platform) || drv->isBuiltin(); auto required = drvOptions.getRequiredSystemFeatures(*drv); auto & available = worker.store.config.systemFeatures.get(); - bool featuresOk = - std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); }); + bool featuresOk = std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); }); if (worker.settings.maxBuildJobs.get() != 0 && platformOk && featuresOk) { debug( "external builder declined '%s'; falling back to a local build",