Unverified Commit 3ccc63da authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

halibut: Fix build with cmake4 (#449469)

parents b53ad8b1 9833723d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchurl,
  cmake,
  perl,
  fetchpatch2,
}:

stdenv.mkDerivation rec {
@@ -15,6 +16,14 @@ stdenv.mkDerivation rec {
    sha256 = "0ciikn878vivs4ayvwvr63nnhpcg12m8023xv514zxqpdxlzg85a";
  };

  patches = [
    (fetchpatch2 {
      name = "fix-charset-cmakelists.patch";
      url = "https://git.tartarus.org/?p=simon/halibut.git;a=blobdiff_plain;f=charset/CMakeLists.txt;h=4613cb4d02959db051dd82b25d6bfd82a50455d7;hp=06eae7703d3e52aa50d5309624ec93a7684f73d8;hb=570407a40bdde2a9bb50c16aa47711202ade8923;hpb=ce14e373b7e6532c0dfa1908fe6030c5667cf79a";
      hash = "sha256-YdLxbXc3C2UxWp0CUzvmJ8mgzqaWJ5Br4VfRU7YjBYE=";
    })
  ];

  nativeBuildInputs = [
    cmake
    perl