mochi/nixos/overlays/talosctl/default.nix

19 lines
490 B
Nix
Raw Permalink Normal View History

{ ... }:
2024-07-03 17:45:35 -05:00
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=";
2024-07-03 17:45:35 -05:00
passthru = oldAttrs.passthru // {
updateScript = ./update.sh;
};
});
})