Commit bb82aa1c authored by Sandro Jäckel's avatar Sandro Jäckel Committed by sternenseemann
Browse files

git-dive: unpin libgit2

parent 4f428752
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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";