git-series: use nixpkgs libgit2
This replaces the vendored copy from libgit2-sys.
This commit is contained in:
parent
2bc9e6cb37
commit
fca52043a5
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform, openssl, cmake, perl, pkgconfig, zlib, curl }:
|
{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform, openssl, cmake, perl, pkgconfig, zlib, curl, libgit2 }:
|
||||||
|
|
||||||
with rustPlatform;
|
with rustPlatform;
|
||||||
|
|
||||||
@ -27,8 +27,9 @@ buildRustPackage rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
||||||
nativeBuildInputs = [ cmake pkgconfig perl ];
|
nativeBuildInputs = [ cmake pkgconfig perl ];
|
||||||
buildInputs = [ openssl zlib curl ];
|
buildInputs = [ openssl zlib curl libgit2 ];
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
install -D "$src/git-series.1" "$out/man/man1/git-series.1"
|
install -D "$src/git-series.1" "$out/man/man1/git-series.1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user