Repository navigation
go, buildGoModule: default to 1.24 - #381448
Conversation
Signed-off-by: Paul Meyer <[email protected]>
|
I usually prefer to wait for |
We should decide and document a process here, I'm tired of having the same discussions on every release (not with you @zowoq, in general). We have packages in need of the newer Go version (see #382567) and some candidates that frequently break on update. We should try to align here so the process is clear to everyone and we have less friction during maintenance. I'll try write something up. :) |
@katexochen doesn't go's "promise of compatibility" prevent exactly this? I'm curious about the cases where a go update can break a package build. |
@RSWilli some projects rely on Go internals that are not part of the compatibility guarantee. Search for |
Okay but those already have a pinned go version, doesn't this PR only affect modules that require the latest golang version? I guess packages that require a specific go version and don't use it could be considered a packaging error instead of a "go update blocked because it broke package XYZ". |
See my previous comment. We (as in the Go team) need to write down how we do things and what package maintainers and toolchain users can expect. Also, there is no hard blocker merging this PR, just some considerations regarding potential fallout. |
|
A change with go 1.24: the ldflags have changed a bit. |
That was already stated in the Go 1.22 changelog: https://tip.golang.org/doc/go1.22#linker
And this is wrong. Also see #346380. |
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.