mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
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;
|
||||
|
||||
|
@ -27,8 +27,9 @@ buildRustPackage rec {
|
|||
})
|
||||
];
|
||||
|
||||
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
||||
nativeBuildInputs = [ cmake pkgconfig perl ];
|
||||
buildInputs = [ openssl zlib curl ];
|
||||
buildInputs = [ openssl zlib curl libgit2 ];
|
||||
|
||||
postBuild = ''
|
||||
install -D "$src/git-series.1" "$out/man/man1/git-series.1"
|
||||
|
|
Loading…
Reference in a new issue