pre-commit-run
default.checks.aarch64-darwin.pre-commit
· build #20
· raw
1Sourcing pytest-check-hook2Using pytestCheckPhase
unpackPhase
3unpacking source archive /nix/store/f42xhziya5yng79g3lw9c4ljz9ghhas2-source4source root is sourceconfigurePhase
5no configure script, doing nothingbuildPhase
6Running: $ pre-commit run --all-files7check-merge-conflicts....................................................Passed8check-merge-conflicts-2..................................................Passed9clang-format.............................................................Failed10- hook id: clang-format11- files were modified by this hook12meson-format.............................................................Passed13nixfmt...................................................................Passed14shellcheck...............................................................Passed15zizmor...................................................................Passed16diff --git a/src/libstore/build/derivation-building-goal.cc b/src/libstore/build/derivation-building-goal.cc17index 5b013b8..80c19db 10064418--- a/src/libstore/build/derivation-building-goal.cc19+++ b/src/libstore/build/derivation-building-goal.cc20@@ -1037,8 +1037,7 @@ Goal::Co DerivationBuildingGoal::buildLocally(21 || settings.extraPlatforms.get().count(drv->platform) || drv->isBuiltin();22 auto required = drvOptions.getRequiredSystemFeatures(*drv);23 auto & available = worker.store.config.systemFeatures.get();24- bool featuresOk =25- std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); });26+ bool featuresOk = std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); });27 if (worker.settings.maxBuildJobs.get() != 0 && platformOk && featuresOk) {28 debug(29 "external builder declined '%s'; falling back to a local build",