about summary refs log tree commit diff
path: root/pkgs/development/tools/rust/cargo-update
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2024-02-11 23:38:49 +0100
committersternenseemann <sternenseemann@systemli.org>2024-02-29 18:54:37 +0100
commit92c43b6345eb326c4ef203c054a70ce5adb7963c (patch)
tree81fc03dd598cf427cf52237d05454fc4d04160f6 /pkgs/development/tools/rust/cargo-update
parent03351c06983a1987f2d03122bcface55da67933d (diff)
cargo-update: unpin libgit2
Diffstat (limited to 'pkgs/development/tools/rust/cargo-update')
-rw-r--r--pkgs/development/tools/rust/cargo-update/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/tools/rust/cargo-update/default.nix b/pkgs/development/tools/rust/cargo-update/default.nix
index 3b3418f38dc06..986f705455c6f 100644
--- a/pkgs/development/tools/rust/cargo-update/default.nix
+++ b/pkgs/development/tools/rust/cargo-update/default.nix
@@ -7,7 +7,7 @@
 , ronn
 , stdenv
 , curl
-, libgit2_1_5
+, libgit2
 , libssh2
 , openssl
 , zlib
@@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec {
   ];
 
   buildInputs = [
-    libgit2_1_5
+    libgit2
     libssh2
     openssl
     zlib
@@ -55,6 +55,10 @@ rustPlatform.buildRustPackage rec {
     installManPage man/*.1
   '';
 
+  env = {
+    LIBGIT2_NO_VENDOR = 1;
+  };
+
   meta = with lib; {
     description = "A cargo subcommand for checking and applying updates to installed executables";
     homepage = "https://github.com/nabijaczleweli/cargo-update";