about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/camlimages/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-11-06 00:02:12 +0000
committerGitHub <noreply@github.com>2023-11-06 00:02:12 +0000
commitb23f12e076c6360253c27cf678bd88b4412a8039 (patch)
tree7e8b0cdf87540786bd479efd758ecc633779eee6 /pkgs/development/ocaml-modules/camlimages/default.nix
parent7c579fd487547974161fd0ab3023c8d41d99af3a (diff)
parent413655a1cfdcb155ddb74882711f2b3a4e716933 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/ocaml-modules/camlimages/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/camlimages/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/camlimages/default.nix b/pkgs/development/ocaml-modules/camlimages/default.nix
index 0d08cc48cb7b8..b1d3d51c86660 100644
--- a/pkgs/development/ocaml-modules/camlimages/default.nix
+++ b/pkgs/development/ocaml-modules/camlimages/default.nix
@@ -6,8 +6,6 @@ buildDunePackage rec {
   pname = "camlimages";
   version = "5.0.4";
 
-  duneVersion = "3";
-
   minimalOCamlVersion = "4.07";
 
   src = fetchFromGitLab {
@@ -17,6 +15,10 @@ buildDunePackage rec {
     sha256 = "1m2c76ghisg73dikz2ifdkrbkgiwa0hcmp21f2fm2rkbf02rq3f4";
   };
 
+  postPatch = ''
+    substituteInPlace core/{images,units}.ml --replace String.lowercase String.lowercase_ascii
+  '';
+
   nativeBuildInputs = [ cppo ];
   buildInputs = [ dune-configurator findlib graphics lablgtk stdio ];