Repository navigation
feat(nix): expose vig-utils console scripts in the dev-shell - #999
Merged
c-vigo merged 3 commits intoJul 13, 2026
Merged
Conversation
Add a parity test asserting prepare-changelog and renovate-changelog-pr are on the dev-shell's own PATH (nix develop --ignore-environment), the gap that blocks mode-aware release workflows for container-less modes. Refs: #993
Expose packages/vig-utils on the vigos overlay (pkgs.vig-utils) and add it to the devTools SSoT, so prepare-changelog, renovate-changelog-pr, and the other console scripts reach every nix develop shell — the devkit's own and any consumer mkProjectShell (direnv mode) — matching the image. Defined once on the overlay and reused by pythonEnv/the hook check (no duplicate builder). lowPrio in devTools yields to pythonEnv's identical scripts in the image buildEnv, mirroring the wrapped-neovim collision guard. Refs: #993
This was referenced Jul 13, 2026
c-vigo
added a commit
that referenced
this pull request
Jul 13, 2026
…997) One release choreography, mode-aware toolchain provisioning: resolve-toolchain + setup-devkit-toolchain composites (ADR Option A), single mode-aware ci.yml, all release/automation workflows container-free in direnv/bare, opt-in .devcontainer/ prune, vig-utils host-side, actionlint. Sub-PRs: #998 #999 #1000 #1001 #1002 #1005 #1006 #1007. Refs: #988
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Expose the
packages/vig-utilsconsole scripts (prepare-changelog,renovate-changelog-pr, and siblings) host-side:vig-utilsis now on the vigOS overlay(
pkgs.vig-utils) and in thedevToolsSSoT (nix/devtools.nix), so everynix developshell — the devkit's own and any consumermkProjectShell—exposes the scripts on PATH, matching the image. Defined once on the overlay
(
vigUtilsOverlay) and reused bypythonEnv/the hook check (no duplicatebuilder).
lowPrioindevToolsyields topythonEnv's identical scripts inthe image
buildEnv, mirroring the wrapped-neovim collision guard.in
docs/MIGRATION.md, consumed later by the Shared setup-devkit-toolchain composite action (mode-aware step-level provisioning) #994setup-devkit-toolchaincomposite.
Why
prepare-changelog/renovate-changelog-prare invoked bare by the scaffoldedrelease workflows but were only in the image, not
devTools— blockingmode-aware release workflows (#991) for container-less modes. Part of #988.
Evidence (local — PRs into the epic branch get no automated CI)
Devkit's own dev-shell:
Consumer
mkProjectShell(downstream stub,vigosoverridden to this branch):Tests:
tests/test_flake_devshell.py::test_devshell_exposes_vig_utils_console_scripts[prepare-changelog|renovate-changelog-pr]— new, RED→GREEN.test_each_tool_runs_in_devshell(vig-utils added toVERSION_FLAG_OVERRIDES) andtest_downstream_flake.py— pass.nix build .#devkitImage— succeeds (nobuildEnvcollision;lowPrioresolves it).prek run --all-files— green.Verified bare-mode install command (tested locally from both the local path and the git subdirectory):
Follow-up for #994
The composite runs the bare-mode
uv tool installabove; pin<DEVKIT_VERSION>to the release tag from
.vig-osso the host toolchain matches the pin.Refs: #993