Skip to content

[Backport release-2.2] build: bump pinned nixpkgs channel from nixos-25.11 to nixos-26.05 - #1111

Merged
phisco merged 1 commit into
crossplane:release-2.2from
jbw976:backport-1108-to-release-2.2
Aug 8, 2026
Merged

[Backport release-2.2] build: bump pinned nixpkgs channel from nixos-25.11 to nixos-26.05#1111
phisco merged 1 commit into
crossplane:release-2.2from
jbw976:backport-1108-to-release-2.2

Conversation

@jbw976

@jbw976 jbw976 commented Aug 7, 2026

Copy link
Copy Markdown
Member

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:

Need help with this checklist? See the cheat sheet.

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)
@jbw976
jbw976 requested a review from a team as a code owner August 7, 2026 22:41
@jbw976
jbw976 requested review from bobh66 and removed request for a team August 7, 2026 22:41
@phisco
phisco merged commit 1e3356c into crossplane:release-2.2 Aug 8, 2026
9 checks passed
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.

2 participants