halibut: Fix build with cmake4

Related: #445447
This commit is contained in:
Josh Holland
2025-10-07 12:05:35 +01:00
parent 7f6b2cf6f3
commit 9833723db2

View File

@@ -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