From 5490a186b4510ad41a1d080bfccd57d0ed64da2e Mon Sep 17 00:00:00 2001 From: Varun Madiath Date: Wed, 21 Jun 2023 08:01:36 -0400 Subject: [PATCH 1/2] rtx: Add updateScript --- pkgs/tools/misc/rtx/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/rtx/default.nix b/pkgs/tools/misc/rtx/default.nix index 53698f0d19ac..b70db4261d34 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 @@ -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)"; From 29943714ff22d4cb5f4814f0f91b98a625f641ed Mon Sep 17 00:00:00 2001 From: Varun Madiath Date: Wed, 12 Jul 2023 10:17:25 -0400 Subject: [PATCH 2/2] rtx: 1.32.2 -> 1.34.0 --- pkgs/tools/misc/rtx/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/rtx/default.nix b/pkgs/tools/misc/rtx/default.nix index b70db4261d34..1fd38015a2f4 100644 --- a/pkgs/tools/misc/rtx/default.nix +++ b/pkgs/tools/misc/rtx/default.nix @@ -12,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 ];