nixbot

builds

failed pre-commit-run checks.aarch64-darwin.pre-commit · build #26 · raw

1Sourcing pytest-check-hook2Using pytestCheckPhase
unpackPhase
3unpacking source archive /nix/store/yry3d343z6plh8lnd8adlziip1srrydc-source4source root is source
configurePhase
5no configure script, doing nothing
buildPhase
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...............................................................Failed15- hook id: shellcheck16- exit code: 11718In tests/functional/ca/scratch-path.sh line 10:19drv='20 ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.2122For more information:23 https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl...2425zizmor...................................................................Passed26diff --git a/src/libstore/build/derivation-building-goal.cc b/src/libstore/build/derivation-building-goal.cc27index 4d448b9..6c0f564 10064428--- a/src/libstore/build/derivation-building-goal.cc29+++ b/src/libstore/build/derivation-building-goal.cc30@@ -1046,8 +1046,7 @@ Goal::Co DerivationBuildingGoal::buildLocally(31 || settings.extraPlatforms.get().count(drv->platform) || drv->isBuiltin();32 auto required = drvOptions.getRequiredSystemFeatures(*drv);33 auto & available = worker.store.config.systemFeatures.get();34- bool featuresOk =35- std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); });36+ bool featuresOk = std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); });37 if (worker.settings.maxBuildJobs.get() != 0 && platformOk && featuresOk) {38 debug(39 "external builder declined '%s'; falling back to a local build",