mochi/nixos/overlays/go/default.nix

13 lines
309 B
Nix
Raw Normal View History

2024-07-03 17:45:35 -05:00
{ ... }:
let
2024-07-11 08:47:29 -05:00
finalVersion = "1.22.5";
2024-07-03 17:45:35 -05:00
in
2024-07-27 14:46:16 -05:00
final: prev: {
go_1_22 = prev.go_1_22.overrideAttrs (oldAttrs: {
2024-07-03 17:45:35 -05:00
version = finalVersion;
src = prev.fetchurl {
url = "https://go.dev/dl/go${finalVersion}.src.tar.gz";
2024-07-11 08:47:29 -05:00
hash = "sha256-rJxyPyJJaa7mJLw0/TTJ4T8qIS11xxyAfeZEu0bhEvY=";
2024-07-03 17:45:35 -05:00
};
});
2024-07-27 14:46:16 -05:00
}