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