Skip to content

fix(nix): bump cl-parser-kit so its cl-prolog-kit follows resolves - #21

Merged
takeokunn merged 1 commit into
mainfrom
fix/parser-kit-follows
Aug 17, 2026
Merged

takeokunn merged 1 commit into
mainfrom
fix/parser-kit-follows

Conversation

@takeokunn

Copy link
Copy Markdown
Collaborator

Follow-up to the -kit rename, found while auditing follows keys org-wide.

The rename pass rewrote inputs.cl-parser-kit.inputs.cl-prolog.follows → ...inputs.cl-prolog-kit.follows, but left cl-parser-kit pinned at v1.1.1, which predates cl-parser-kit's own migration and still names that input cl-prolog (its flake.nix:52 at that tag).

Nix silently ignores a follows targeting an input name that does not exist. So the deduplication was lost with no error: flake.lock carried cl-prolog v1.4.3 as a separate node alongside cl-prolog-kit v1.5.0, and the old repository was still being fetched and built on every evaluation.

CI stayed green the whole time — a broken follows costs a duplicate fetch, not a build failure. That is why it survived review.

The lesson: renaming a follows key and bumping the pin it targets are one change, not two. The key names an input in the other flake, so it is only valid against a revision where that name exists.

After the re-lock, flake.lock holds exactly one Prolog node: cl-prolog-kit v1.5.0.

The rename pass rewrote this repo's follows key from
`inputs.cl-parser-kit.inputs.cl-prolog.follows` to
`...inputs.cl-prolog-kit.follows` but left cl-parser-kit pinned at
v1.1.1, which predates cl-parser-kit's own migration and still names
that input `cl-prolog` (flake.nix:52 at that tag). Nix silently ignores
a follows targeting an input name that does not exist, so the
deduplication was lost without any error: flake.lock carried
cl-prolog v1.4.3 as a separate node alongside cl-prolog-kit v1.5.0, and
the old repository was still fetched and built on every evaluation.

CI stayed green throughout, which is why this survived review -- a
broken follows costs a duplicate fetch, not a build failure.

Renaming a follows key and bumping the pin it targets are one change,
not two: the key names an input in the *other* flake, so it is only
valid against a revision where that name exists.

Pinned to cl-parser-kit's current main, which carries the migration;
its newest tag, v1.1.1, is pre-migration. After the re-lock flake.lock
holds exactly one Prolog node, cl-prolog-kit v1.5.0.
@takeokunn
takeokunn merged commit baf0613 into main Aug 17, 2026
7 of 9 checks passed
@takeokunn
takeokunn deleted the fix/parser-kit-follows branch August 17, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant