pre-commit-run
checks.aarch64-linux.pre-commit
· build #27
· raw
1tribuchet: building on eliza2Sourcing pytest-check-hook3Using pytestCheckPhase
unpackPhase
4unpacking source archive /nix/store/0s2iv7zdrbza6lg3y61l421a6a3hv98l-source5source root is sourceconfigurePhase
6no configure script, doing nothingbuildPhase
7Running: $ pre-commit run --all-files8check-merge-conflicts....................................................Passed9check-merge-conflicts-2..................................................Passed10clang-format.............................................................Failed11- hook id: clang-format12- files were modified by this hook13meson-format.............................................................Passed14nixfmt...................................................................Passed15shellcheck...............................................................Failed16- hook id: shellcheck17- exit code: 11819In tests/functional/ca/scratch-path.sh line 10:20drv='21 ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.2223For more information:24 https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl...2526zizmor...................................................................Passed27diff --git a/src/libstore/build/derivation-building-goal.cc b/src/libstore/build/derivation-building-goal.cc28index 4d448b9..6c0f564 10064429--- a/src/libstore/build/derivation-building-goal.cc30+++ b/src/libstore/build/derivation-building-goal.cc31@@ -1046,8 +1046,7 @@ Goal::Co DerivationBuildingGoal::buildLocally(32 || settings.extraPlatforms.get().count(drv->platform) || drv->isBuiltin();33 auto required = drvOptions.getRequiredSystemFeatures(*drv);34 auto & available = worker.store.config.systemFeatures.get();35- bool featuresOk =36- std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); });37+ bool featuresOk = std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); });38 if (worker.settings.maxBuildJobs.get() != 0 && platformOk && featuresOk) {39 debug(40 "external builder declined '%s'; falling back to a local build",