You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Scaffolded flake breaks on fresh install while devkit main predates the workflow argument #1249
The scaffolded flake.nix (#1224) unconditionally forwards the new workflow argument to vigos.lib.mkProjectShell, but its vigos input ships unpinned (github:vig-os/devkit), so a fresh scaffold resolves devkit from main. Until 1.4.1 is promoted, main (= 1.4.0, d16541f5) has no workflow parameter, and every fresh direnv scaffold dies on first shell entry:
error: function 'mkProjectShell' called with unexpected argument 'workflow'
at «github:vig-os/devkit/d16541f5…»/flake.nix:241:9
The smoke-test rc1 Release dispatch then fails on ERROR: PR #288 has failed CI checks.
This deadlocks the promote precondition: devkit promote requires smoke-test's published final 1.4.1, but smoke-test's direnv gate cannot go green until devkit main carries the workflow argument — i.e. after promote.
Also reproduced locally: a fresh install.sh --version 1.4.1-rc1 --mode direnv scaffold cannot enter its shell (works after hand-pinning vigos.url to ?ref=1.4.1-rc1).
Upgrades are NOT affected: flake.nix is on the preserve list (#640), so existing consumers keep their own flake.
Expected Behavior
The template must stay compatible with the floating vigos input resolving to an older devkit. Forward workflow defensively — only when the resolved builder accepts it:
This keeps the unpinned-input design (consumers ride main releases via nix flake update) while making new-template + old-devkit combinations degrade gracefully (gitflow default) instead of failing eval. Same rule for any future forwarded argument.
Fix targets release/1.4.1 (rc respin), like #1216 in the 1.4.0 train.
Fixed by PR #1252 (functionArgs-guarded workflow forwarding; follow-up e60518b for the #1167 awk anchor), merged into release/1.4.1. Live-proven by the automatic smoke-test chain (Direnv Smoke green at rc2–rc4 and final). Shipped in 1.4.1. Closing.
Activity
fix(workspace): retarget flake-hooks activation anchor after template…
fix(workspace): forward workflow to mkProjectShell only when accepted (…
chore: release 1.4.1 (#297)
chore: release 1.4.1 (#1247)
c-vigo commentedon Jul 23, 2026
Fixed by PR #1252 (functionArgs-guarded
workflowforwarding; follow-up e60518b for the #1167 awk anchor), merged intorelease/1.4.1. Live-proven by the automatic smoke-test chain (Direnv Smoke green at rc2–rc4 and final). Shipped in 1.4.1. Closing.fix(workspace): ship the commit-msg hooks to flake-generated consumers (
feat: seed the Rust pack on cold adoption (cargo recipes, tool config…