fix(nix): use nixos-unstable#4948
Conversation
|
I don't know anything about nix, so I'm probably not qualified to ask, but doesn't this "fix" simply rely on unstable having a new enough go version, whereas 25.05 doesn't? If so, this doesn't seem right to me. The flake should be able to build lazygit no matter what go version the underlying nixpkgs comes with, and I thought this goVersion overlay would achieve that. @Eveeifyeve Any input on this? |
|
Yes that is correct. Similar to Linux distributions, each stable version has a set of packages (and versions allowed). It seems that Go 1.25 is not yet packaged in the 25.05 release so by moving to the "unstable" (rolling-release) it's able to use the newer Go version. |
Eveeifyeve
left a comment
There was a problem hiding this comment.
This indeed fixes the issue, because 25.05 doesn't have a newer enough go version packaged than this required.
Good catch by the way on the channels, I would have blocked the pr from merging if I checked but I didn't check for the channels.
|
Ok; thanks, both. |
Fixed #4947
PR Description
Please check if the PR fulfills these requirements
go generate ./...)