mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 09:37:59 +03:00
cargo-generate: unpin libgit2
This commit is contained in:
parent
655cec4b6c
commit
c46ca8c6bc
@ -2,7 +2,7 @@
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, libgit2_1_6
|
||||
, libgit2
|
||||
, openssl
|
||||
, stdenv
|
||||
, darwin
|
||||
@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ libgit2_1_6 openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||
buildInputs = [ libgit2 openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
@ -48,6 +48,10 @@ rustPlatform.buildRustPackage rec {
|
||||
"--skip=git::utils::should_canonicalize"
|
||||
];
|
||||
|
||||
env = {
|
||||
LIBGIT2_NO_VENDOR = 1;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to generate a new Rust project by leveraging a pre-existing git repository as a template";
|
||||
homepage = "https://github.com/cargo-generate/cargo-generate";
|
||||
|
Loading…
Reference in New Issue
Block a user