about summary refs log tree commit diff
path: root/pkgs/development/tools/rust
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-03-23 21:04:41 -0400
committerGitHub <noreply@github.com>2023-03-23 21:04:41 -0400
commitd0e8303b9a395e17b346f244ce10011063736103 (patch)
tree800b387ff04089e1318beb0ea3b7231c4b281e8e /pkgs/development/tools/rust
parentf14f80f6aa383d9826b2eaf5476c38e1f479fd91 (diff)
parenteeae68d491ceb8724c8995214f74f85e55047d26 (diff)
Merge pull request #222566 from figsoda/binstall
Diffstat (limited to 'pkgs/development/tools/rust')
-rw-r--r--pkgs/development/tools/rust/cargo-binstall/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/tools/rust/cargo-binstall/default.nix b/pkgs/development/tools/rust/cargo-binstall/default.nix
index 782eede39dd92..1e5252b136105 100644
--- a/pkgs/development/tools/rust/cargo-binstall/default.nix
+++ b/pkgs/development/tools/rust/cargo-binstall/default.nix
@@ -11,16 +11,16 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "cargo-binstall";
-  version = "0.21.3";
+  version = "0.22.0";
 
   src = fetchFromGitHub {
     owner = "cargo-bins";
     repo = "cargo-binstall";
     rev = "v${version}";
-    hash = "sha256-K4NerJSW3ckXMFFnFCMXIqMeevE3Xzr/Wsz9nloolBI=";
+    hash = "sha256-jY5mIbrcX2B0D6ezi1k0mcRAmrSPIoebJFHn3lZ2t9w=";
   };
 
-  cargoHash = "sha256-YSKnfhSZ885evtEK40QTt90RwtH03aO/aJ6A/DddoVU=";
+  cargoHash = "sha256-+O/+zsiG0wyNKp/2TP5I8EPMf6YPT8VtCD4BXI76J7Q=";
 
   nativeBuildInputs = [
     pkg-config
@@ -43,6 +43,9 @@ rustPlatform.buildRustPackage rec {
     "zstd-thin"
   ];
 
+  cargoBuildFlags = [ "-p" "cargo-binstall" ];
+  cargoTestFlags = [ "-p" "cargo-binstall" ];
+
   checkFlags = [
     # requires internet access
     "--skip=download::test::test_and_extract"