Repository navigation
go, buildGoModule: default to 1.27 - #570062
Conversation
55b0f0b to
9759c05
Compare
|
if you wait three or so hours, ci (https://github.com/NixOS/nixpkgs/actions/workflows/periodic-merge-6h.yml) will automatically merge master → staging-next → staging, and then you can base this pr off of the staging-next/staging merge base while still getting go 1.27.2. that should minimize rebuilds for testing while still getting up-to-date stuff. |
9759c05 to
9f4b6c1
Compare
|
Will do, forgot about the delay, oops :) |
Review dismissed automatically
9f4b6c1 to
b88e3ac
Compare
|
a quick statement of intent: we need to be on 1.27 for 26.11, so unless we find some catastrophic bugs while testing, i intend to merge this for the next staging-next cycle (in about two weeks). that should give us enough time (notably, zhf) to handle any regressions (e.g. pinning packages to 1.26) for any reason, since historically there has been some amount of breakage from go updates despite go's compatibility promise. |
b88e3ac to
20e75b6
Compare
nixpkgs switched `buildGoModule` to be on Go v1.27 by default on [2026-11-07](NixOS/nixpkgs#580394). (See [this pull request](NixOS/nixpkgs#570062) for more information) cpak uses Go v1.26.9 in its flake, which make v1.27 patches in nixpkgs failed.
Thanks to Go's stability guarantees, this should cause very little breakage. With 1.27.2 out, this is ready to go.
Dropping 1.25 was already handled in #563177.
This is the Go version bump policy: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/go/README.md. (Point one of this policy isn't actually being complied with, however, and should probably be updated to match current practice.)
#381448 is another example of a simple bump, without requiring extensive testing or review.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.