git-dive: unpin libgit2
This commit is contained in:
parent
4f4287521b
commit
bb82aa1c0c
1 changed files with 6 additions and 4 deletions
|
@ -2,8 +2,7 @@
|
|||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
# libgit2-sys doesn't support libgit2 1.6 yet
|
||||
, libgit2_1_5
|
||||
, libgit2
|
||||
, oniguruma
|
||||
, zlib
|
||||
, stdenv
|
||||
|
@ -29,7 +28,7 @@ rustPlatform.buildRustPackage rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
libgit2_1_5
|
||||
libgit2
|
||||
oniguruma
|
||||
zlib
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
|
@ -54,7 +53,10 @@ rustPlatform.buildRustPackage rec {
|
|||
git config --global user.email nixbld@example.com
|
||||
'';
|
||||
|
||||
env = {
|
||||
LIBGIT2_NO_VENDOR = 1;
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dive into a file's history to find root cause";
|
||||
|
|
Loading…
Reference in a new issue