about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2024-02-11 23:28:05 +0100
committersternenseemann <sternenseemann@systemli.org>2024-02-29 18:54:37 +0100
commit2159ca14d82e5b7992370a4155f007710b61cf96 (patch)
treeab3ad7a7715827dde6c16c44a8597fa7a17a3c6c /pkgs
parent49bb96edf1804bb928345c976ee1e268f7fe9d26 (diff)
cargo-unused-features: unpin libgit2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/rust/cargo-unused-features/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/tools/rust/cargo-unused-features/default.nix b/pkgs/development/tools/rust/cargo-unused-features/default.nix
index f6e3057ecffef..70518087e0864 100644
--- a/pkgs/development/tools/rust/cargo-unused-features/default.nix
+++ b/pkgs/development/tools/rust/cargo-unused-features/default.nix
@@ -3,7 +3,7 @@
 , fetchCrate
 , curl
 , pkg-config
-, libgit2_1_5
+, libgit2
 , openssl
 , stdenv
 , darwin
@@ -27,13 +27,17 @@ rustPlatform.buildRustPackage rec {
 
   buildInputs = [
     curl
-    libgit2_1_5
+    libgit2
     openssl
   ] ++ lib.optionals stdenv.isDarwin [
     darwin.apple_sdk.frameworks.CoreFoundation
     darwin.apple_sdk.frameworks.Security
   ];
 
+  env = {
+    LIBGIT2_NO_VENDOR = 1;
+  };
+
   meta = with lib; {
     description = "A tool to find potential unused enabled feature flags and prune them";
     homepage = "https://github.com/timonpost/cargo-unused-features";