cargo-codspeed: unpin libgit2
This commit is contained in:
parent
2e25909a49
commit
03351c0698
1 changed files with 6 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
, fetchFromGitHub
|
||||
, curl
|
||||
, pkg-config
|
||||
, libgit2_1_5
|
||||
, libgit2
|
||||
, openssl
|
||||
, zlib
|
||||
, stdenv
|
||||
|
@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
buildInputs = [
|
||||
curl
|
||||
libgit2_1_5
|
||||
libgit2
|
||||
openssl
|
||||
zlib
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
|
@ -40,6 +40,10 @@ rustPlatform.buildRustPackage rec {
|
|||
cargoBuildFlags = [ "-p=cargo-codspeed" ];
|
||||
cargoTestFlags = cargoBuildFlags;
|
||||
|
||||
env = {
|
||||
LIBGIT2_NO_VENDOR = 1;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cargo extension to build & run your codspeed benchmarks";
|
||||
homepage = "https://github.com/CodSpeedHQ/codspeed-rust";
|
||||
|
|
Loading…
Reference in a new issue