mochi/nixos/overlays/go/default.nix

13 lines
301 B
Nix
Raw Normal View History

2024-07-03 17:45:35 -05:00
{ ... }:
let
finalVersion = "1.22.4";
in
(final: prev: {
go = prev.go.overrideAttrs (oldAttrs: {
version = finalVersion;
src = prev.fetchurl {
url = "https://go.dev/dl/go${finalVersion}.src.tar.gz";
hash = "sha256-/tcgZ45yinyjC6jR3tHKr+J9FgKPqwIyuLqOIgCPt4Q=";
};
});
})