Unverified Commit c252d791 authored by Adam C. Stephens's avatar Adam C. Stephens
Browse files

guile-git: fix guile 0.3.11 compatibility

parent a1bab9e4
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitLab,
  fetchpatch,
  guile,
  libgit2,
  scheme-bytestructures,
@@ -21,6 +22,21 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-ihKpEnng6Uemrguecbd25vElEhIu2Efb86aM8679TAc=";
  };

  patches = [
    # remove > 0.10.0
    (fetchpatch {
      name = "catch-git-error-guile";
      url = "https://gitlab.com/guile-git/guile-git/-/commit/9c76c6b31e217c470c8576172b123be9c373dc9b.diff";
      hash = "sha256-H0s7Ebl+HNL8Zak58kJmFETWZJcNq+Z5gTGRqU9gj58=";
    })
    # remove > 0.10.0
    (fetchpatch {
      name = "test-typo";
      url = "https://gitlab.com/guile-git/guile-git/-/commit/4451c0808fbdf8cd13d486a18b03881f998f6e88.diff";
      hash = "sha256-K2f67WXUBLI/09eF8Xg3JMX7gkISFTZK3yHu0VDVQ4E=";
    })
  ];

  strictDeps = true;
  nativeBuildInputs = [
    autoreconfHook