Repository navigation
fix(flake): scope a bws-only allowUnfreePredicate for the deploy outputs - #16823
Conversation
…pe a bws-only predicate make-deploy imported nixpkgs-unstable with the default config, so the deploy package set refused to evaluate anywhere allowUnfree was not already enabled: several registry deploy apps wrap bws (unfree) into their runtime PATH, and evaluating checks.deploy-list forces the whole set. The deploy flake checks workflow therefore failed at eval on CI on unmodified main (#16820), while hosts with allowUnfree configured never saw it. Scope config.allowUnfreePredicate in make-deploy's import to bws by pname. The checks validate the identical derivations; any other unfree package in the graph still refuses. Closes #16820
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
…bun-group bump The dependabot bun-group bump (f3ae225) updated pm-stack/aggregator/bun.lock without refreshing this derivation's outputHash, so pm-aggregator-node_modules fails with a hash mismatch on main — the same drift #16268 fixed last time. The mismatch was masked for the deploy checks by #16820's eval failure; with eval fixed, run 46273781188 reached the build and reported the correct hash, which is the value set here. Refs #16820
|
Verification round 1 (run 46273781188 @ dd09e95): evaluation passes with the bws predicate — no unfree refusal; the build proceeded into derivations. It then hit a second defect the eval failure had masked: pm-aggregator-node_modules fixed-output hash mismatch (stale since the dependabot bun-group bump f3ae225 changed bun.lock; same drift as #16268). Round 2 adds commit 41bf995 refreshing outputHash to the build-reported value; re-verification run 46274239107 dispatched at that head. Details on #16820. |
Same drift as pm-aggregator, older cause: a deps bump (717f23d, @types/node) updated pm-stack/projector/bun.lock without refreshing this outputHash. Masked by #16820's eval failure; surfaced by verification run 46274239107 once the aggregator hash was fixed, which reported the correct value set here. Refs #16820
Closes #16820. make-deploy imported nixpkgs-unstable with the default config, so the deploy package set refused to evaluate anywhere allowUnfree was not already enabled — several registry deploy apps wrap bws (unfree) into their runtime PATH, and evaluating checks.deploy-list forces the whole set. The deploy flake checks workflow failed at eval on CI on unmodified main (run 46272269260), while hosts with allowUnfree configured never saw it. Fix: config.allowUnfreePredicate in make-deploy's import, scoped to bws by pname — the checks validate the identical derivations, and any other unfree package still refuses. Verification: deploy-flake-checks workflow run 46273781188 dispatched on this branch at head dd09e95; merge on green.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.