Repository navigation
fix(flake): normalize the neovim-src follows entries in flake.lock - #2626
Merged
Merged
Conversation
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.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
The flake.lock committed with #2599 serializes the neovim-nightly-overlay
neovim-srcfollows 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 duringnixos-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.
Need help on this PR? Tag
@codesmith-botwith what you need.