From 46e9940b97e75bb9f2c51c8e6b0a62d5340f8cf5 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 15 Aug 2023 11:55:07 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.inifiles:=20fix=20for=20OCaml=20?= =?UTF-8?q?=E2=89=A5=205.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/inifiles/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/ocaml-modules/inifiles/default.nix b/pkgs/development/ocaml-modules/inifiles/default.nix index cbeae7bca839..9e3cf1f2ba1e 100644 --- a/pkgs/development/ocaml-modules/inifiles/default.nix +++ b/pkgs/development/ocaml-modules/inifiles/default.nix @@ -16,6 +16,10 @@ stdenv.mkDerivation rec { }) ]; + postPatch = '' + substituteInPlace inifiles.ml --replace 'String.lowercase ' 'String.lowercase_ascii ' + ''; + nativeBuildInputs = [ ocaml findlib ]; propagatedBuildInputs = [ ocaml_pcre ];