Repository navigation
Add duplicate-inputs check and dedup flake inputs - #1902
Merged
Merged
Conversation
etrobert
force-pushed
the
claude/wonderful-lamport-fmpmj3
branch
from
December 2, 2026 11:50
971098e to
d479ddd
Compare
Each kept its own nixpkgs or flake-parts: a second fetch on every update. Every pin we already had is unchanged; four lock nodes go. neovim-nightly's overlay comes from flake-parts' easyOverlay, which re-evaluates perSystem with the nixpkgs it is applied to, so neovim already built against ours. Co-Authored-By: Claude Opus 5.5 <[email protected]>
For each direct dependency's input sharing a name with one of ours but locked separately, fail and print the follows line that dedups it. Name matching, as nix-auto-follow and flake-edit do. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
etrobert
force-pushed
the
claude/wonderful-lamport-fmpmj3
branch
from
December 2, 2026 11:55
e899de6 to
40dd944
Compare
etrobert
marked this pull request as ready for review
December 2, 2026 12:03
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.
Adds
checks.duplicate-inputs: for each direct dependency's input that shares a name with one of ours but is locked separately, it fails and prints thefollowsline that dedups it — name matching, as nix-auto-follow (https://github.com/fzakaria/nix-auto-follow) and flake-edit (https://github.com/a-kenji/flake-edit) do.On main's lock it fails with:
Those follows are added in the first commit. Four lock nodes go; every existing pin is unchanged.
No host changes: the tower, leod and pi toplevels differ from main only in
nixos-versionanddeploy-gate, which embed the git revision (checked withnix-diff). neovim-nightly's overlay is flake-parts'easyOverlay, which re-evaluatesperSystemwith the nixpkgs it is applied to, so neovim already built against ours.Trade-offs: a copy shared by two dependencies we don't pin ourselves goes unseen, and a dependency whose
nixpkgsmust deliberately differ from ours has no exemption yet.🤖 Generated with Claude Code