mochi/nixos/overlays/talosctl/default.nix
2024-07-03 17:45:35 -05:00

18 lines
No EOL
417 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=";
};
passthru = oldAttrs.passthru // {
updateScript = ./update.sh;
};
});
})