[Backport release-2.2] build: bump pinned nixpkgs channel from nixos-25.11 to nixos-26.05 - #1111
Merged
phisco merged 1 commit intoAug 8, 2026
Conversation
The nixos-25.11 channel reached end of life on 2026-06-30 and its branch has not moved since, so every tool pinned through it is frozen. Renovate fails to make this change itself, possibly because of renovatebot/renovate#45000. This commit points the nixpkgs input at nixos-26.05 and refreshes only that input, leaving nixpkgs-unstable and gomod2nix alone. Moving the channel moves the whole toolchain, which accounts for the rest of the diff. protoc-gen-go 1.36.10 to 1.36.11 and protoc-gen-go-grpc 1.5.1 to 1.6.2 regenerate the protobuf output. golangci-lint 2.6.2 to 2.12.2 reports new findings from goconst. It now ignores tests, which stops occurrences there inflating its counts, and pkg/xcrd is excluded because its OpenAPI schema literals read better inline than behind constants. The remaining finding is addressed in place. The new toolchain also prints two deprecation warnings, both cleared here. nixpkgs 26.05 aliases nixfmt-rfc-style to nixfmt, so now we just use nixfmt directly. golangci-lint deprecates gomodguard in favour of gomodguard_v2, which default: all already enables, so the deprecated linter joins the disable list. Signed-off-by: Jared Watts <jbw976@gmail.com> (cherry picked from commit 973456b)
phisco
approved these changes
Aug 8, 2026
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.
Description of your changes
This PR manually backports #1108 to the release-2.2 branch, since it failed auto backport in #1108 (comment).
I have:
./nix.sh flake checkto ensure this PR is ready for review.Added or updated unit tests.Linked a PR or a docs tracking issue to document this change.Addedbackport release-x.ylabels to auto-backport this PR.Need help with this checklist? See the cheat sheet.