Skip to content

chore: pin go_1_26 to nixos-25.11#84

Merged
tembleking merged 1 commit into
mainfrom
chore/go-from-nixos-25-11
May 18, 2026
Merged

chore: pin go_1_26 to nixos-25.11#84
tembleking merged 1 commit into
mainfrom
chore/go-from-nixos-25-11

Conversation

@tembleking
Copy link
Copy Markdown
Member

In nixpkgs-unstable, go_1_26 is treated as a critical package due to the large number of reverse dependencies, so updates land slowly. nixos-25.11 has far fewer dependents on the Go toolchain, so it tracks new Go releases much faster.

Sourcing go_1_26 from nixos-25.11 via overlay keeps the dev shell closer to upstream Go without bumping the rest of nixpkgs.

In nixpkgs-unstable, go_1_26 is a critical package with many reverse
dependencies, slowing its updates. nixos-25.11 has fewer dependents and
updates the toolchain faster, so source it from there via overlay.
Copilot AI review requested due to automatic review settings May 18, 2026 08:02
@tembleking tembleking requested a review from a team as a code owner May 18, 2026 08:02
@tembleking tembleking enabled auto-merge (squash) May 18, 2026 08:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the Go 1.26 toolchain used by this repo’s Nix flake to come from the nixos-25.11 branch (via an overlay), keeping Go closer to upstream while leaving the rest of nixpkgs on nixpkgs-unstable.

Changes:

  • Added a new flake input (nixpkgs-25-11) pointing at nixos-25.11.
  • Introduced an overlay to source go_1_26 from nixpkgs-25-11 and applied it alongside the existing overlay.
  • Updated flake.lock to pin the additional nixpkgs-25-11 input.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
flake.nix Adds nixpkgs-25-11 input and an overlay to override go_1_26 with the version from nixos-25.11.
flake.lock Pins the newly added nixpkgs-25-11 input revision/hash.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread flake.nix
Comment thread flake.nix
@tembleking tembleking merged commit f26c206 into main May 18, 2026
10 checks passed
@tembleking tembleking deleted the chore/go-from-nixos-25-11 branch May 18, 2026 08:30
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.

4 participants