mochi/nixos/overlays/talosctl/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

19 lines
No EOL
490 B
Nix

{ ... }:
let
finalVersion = "1.7.5";
in
(final: prev: {
talosctl = prev.talosctl.overrideAttrs (oldAttrs: {
version = finalVersion;
src = prev.fetchFromGitHub {
owner = "siderolabs";
repo = "talos";
rev = "v${finalVersion}";
hash = "sha256-lmDLlxiPyVhlSPplYkIaS5Uw19hir6XD8MAk8q+obhY=";
};
vendorHash = "sha256-8UIey+r1tdVRN1RBK5xxcAzaHb0VFdgenUXSFgoWh1g=";
passthru = oldAttrs.passthru // {
updateScript = ./update.sh;
};
});
})