mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
cargo-dephell: unpin libgit2
This commit is contained in:
parent
793ef7f7fc
commit
8042f62417
@ -6,7 +6,7 @@
|
||||
, curl
|
||||
, openssl
|
||||
, darwin
|
||||
, libgit2_1_3_0
|
||||
, libgit2
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec {
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
curl
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
libgit2_1_3_0
|
||||
libgit2
|
||||
];
|
||||
|
||||
# update Cargo.lock to work with openssl 3
|
||||
@ -43,6 +43,10 @@ rustPlatform.buildRustPackage rec {
|
||||
ln -sf ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
env = {
|
||||
LIBGIT2_NO_VENDOR = 1;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to analyze the third-party dependencies imported by a rust crate or rust workspace";
|
||||
homepage = "https://github.com/mimoo/cargo-dephell";
|
||||
|
Loading…
Reference in New Issue
Block a user