mochi/nixos/overlays/talosctl/default.nix

19 lines
488 B
Nix
Raw Permalink Normal View History

{ ... }:
2024-07-03 17:45:35 -05:00
let
finalVersion = "1.7.5";
in
2024-07-27 14:46:16 -05:00
final: prev: {
2024-07-03 17:45:35 -05:00
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;
};
});
2024-07-27 14:46:16 -05:00
}