ocamlPackages.camlimages: fix build with OCaml ≥ 5.0

authored by Vincent Laporte and committed by Vincent Laporte 89de0d84 af801efe

+4 -2
+4 -2
pkgs/development/ocaml-modules/camlimages/default.nix
··· 6 6 pname = "camlimages"; 7 7 version = "5.0.4"; 8 8 9 - duneVersion = "3"; 10 - 11 9 minimalOCamlVersion = "4.07"; 12 10 13 11 src = fetchFromGitLab { ··· 16 14 rev = version; 17 15 sha256 = "1m2c76ghisg73dikz2ifdkrbkgiwa0hcmp21f2fm2rkbf02rq3f4"; 18 16 }; 17 + 18 + postPatch = '' 19 + substituteInPlace core/{images,units}.ml --replace String.lowercase String.lowercase_ascii 20 + ''; 19 21 20 22 nativeBuildInputs = [ cppo ]; 21 23 buildInputs = [ dune-configurator findlib graphics lablgtk stdio ];