mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
cargo-codspeed: unpin libgit2
(cherry picked from commit 03351c0698)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
committed by
Matthias Beyer
parent
2d233444b9
commit
eff4136870
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user