Skip to content

fix(flake): normalize the neovim-src follows entries in flake.lock - #2626

Merged
dezren39 merged 1 commit into
mainfrom
fix/flake-lock-neovim-src-follows
Oct 30, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/flake-lock-neovim-src-follows

Conversation

@dezren39

@dezren39 dezren39 commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

The flake.lock committed with #2599 serializes the neovim-nightly-overlay neovim-src follows as a plain string. Current nix normalizes it to the array form (and adds the root input entry) on every evaluation — and that rewrite lands mid-evaluation during nixos-rebuild switch, aborting the flake source copy with exit 102 ('contents have changed' while being hashed). This was the real cause of the repeated switch failures on 2026-10-30, including from a frozen checkout.

This PR commits the lock exactly as nix itself rewrites it (4 insertions, 1 deletion, flake.lock only). With it, evaluation no longer touches the lock and the source copy is stable.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

The lock committed with #2599 serializes the neovim-nightly-overlay
neovim-src follows as a plain string; current nix normalizes it to
the array form and adds the root input entry on every evaluation.
That rewrite happens mid-evaluation during nixos-rebuild, which
aborts the flake source copy (exit 102: contents changed while
being hashed) — the real cause of the repeated switch failures
tonight. This is the lock exactly as nix itself rewrites it.
@dezren39
dezren39 requested a review from a team as a code owner October 30, 2026 07:42
@dezren39
dezren39 merged commit c90d6ac into main Oct 30, 2026
13 of 14 checks passed
@dezren39
dezren39 deleted the fix/flake-lock-neovim-src-follows branch October 30, 2026 07:42
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T07:43:36.463556Z 78560d6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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