mochi/nixos/overlays/go/default.nix
Joseph Hanson 9e0def2655
All checks were successful
Build / nix-build (native-x86_64, legiondary) (pull_request) Successful in 10m27s
Build / nix-build (native-aarch64, varda) (pull_request) Successful in 11m33s
Full talosctl overlay for 1.7.5 and partial go 1.22.4
2024-07-04 03:33:02 -05:00

13 lines
No EOL
311 B
Nix

{ ... }:
let
finalVersion = "1.22.4";
in
(final: prev: {
go_1_22 = prev.go_1_22.overrideAttrs (oldAttrs: {
version = finalVersion;
src = prev.fetchurl {
url = "https://go.dev/dl/go${finalVersion}.src.tar.gz";
hash = "sha256-/tcgZ45yinyjC6jR3tHKr+J9FgKPqwIyuLqOIgCPt4Q=";
};
});
})