8000 checks: One lock node per homelab repo; Dependabot bumps the homelab inputs together by andsens · Pull Request #53 · nixos-homelab/shared · GitHub
[go: up one dir, main page]

Skip to content

checks: One lock node per homelab repo; Dependabot bumps the homelab inputs together - #53

Merged
andsens merged 1 commit into
mainfrom
claude/flake-lock-check
Nov 23, 2026
Merged

andsens merged 1 commit into
mainfrom
claude/flake-lock-check

Conversation

@andsens
@andsens andsens commented Nov 23, 2026
Copy link
Copy Markdown
Collaborator

Two changes, both against the red Dependabot bumps fixed by docs#47 and media#37.

lib.checks.flakeLock { pkgs, lockFile }: fails when a lock has more than one node for a nixos-homelab repo, and names the inputs that bring each copy. Wired here as checks.flake-lock. The other homelab repos wire it in once they lock a shared that has it. Against docs main before #47, it prints:

nixos-homelab/storage is locked 3 times:
  848d33ca… through homelab-development.homelab-storage
  615183b3… through homelab-media.homelab-storage
  c1ac86ef… through root.homelab-storage
Make all but one of each follow the flake input of that repo

Those are the follows #47 added. Without them, the eval stopped on homelab.postgresql.databases ... already declared.

Dependabot groups.homelab: patterns: ["homelab-*"]: one PR moves every homelab input. dependabot-core runs a group's dependencies through the nix file updater one after another on the same lock (updater/lib/dependabot/updater/group_update_creation.rb, and one nix flake lock --override-input per input in nix/lib/dependabot/nix/file_updater.rb).

🤖 Generated with Claude Code

…inputs together

lib.checks.flakeLock fails when a flake.lock locks a nixos-homelab repo
more than once and names the inputs that bring each copy. Two copies of
one repo's modules otherwise stop the eval with an option declared twice,
deep in a trace (docs#47, media#37).

Dependabot's nix updates now group the homelab-* inputs into one PR, so
a bump no longer pairs one new main with older others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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

0