diff --git a/pkgs/tools/misc/rtx/default.nix b/pkgs/tools/misc/rtx/default.nix index 53698f0d19ac..1fd38015a2f4 100644 --- a/pkgs/tools/misc/rtx/default.nix +++ b/pkgs/tools/misc/rtx/default.nix @@ -1,4 +1,5 @@ { lib +, nix-update-script , rustPlatform , fetchFromGitHub , installShellFiles @@ -11,16 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "rtx"; - version = "1.32.2"; + version = "1.34.0"; src = fetchFromGitHub { owner = "jdxcode"; repo = "rtx"; rev = "v${version}"; - sha256 = "sha256-Q210UAyPPeBfxFJvmudjhrNsVpBOG2hSQ0PeLLWMZx8="; + sha256 = "sha256-ePRYlTGgZDrIClZ4kb9v62/FiLzZT6DzL3kaY6eAq5g="; }; - cargoHash = "sha256-1Pmt+DWXSkY8uwE4bNu68NTnQLnfsoQr7I7BgCiQ+1E="; + cargoSha256 = "sha256-RFAIc4KfMvxz2BYX8x8j8T5evMqFP8ML4+wHwWdODVk="; nativeBuildInputs = [ installShellFiles ]; buildInputs = lib.optionals stdenv.isDarwin [ Security ]; @@ -53,6 +54,10 @@ rustPlatform.buildRustPackage rec { --zsh ./completions/_rtx ''; + passthru = { + updateScript = nix-update-script { }; + }; + meta = { homepage = "https://github.com/jdxcode/rtx"; description = "Polyglot runtime manager (asdf rust clone)";