From 5f9b61da7285921f05cbb0b9a014544e818bc92e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marijan=20Petri=C4=8Devi=C4=87?= Date: Fri, 22 Aug 2025 12:02:23 +0200 Subject: [PATCH] ocamlPackages.curly: patch test due to cohttp update --- pkgs/development/ocaml-modules/curly/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/ocaml-modules/curly/default.nix b/pkgs/development/ocaml-modules/curly/default.nix index 3eed06357239..cffaf7514b13 100644 --- a/pkgs/development/ocaml-modules/curly/default.nix +++ b/pkgs/development/ocaml-modules/curly/default.nix @@ -41,6 +41,9 @@ buildDunePackage rec { postPatch = '' substituteInPlace src/curly.ml \ --replace "exe=\"curl\"" "exe=\"${curl}/bin/curl\"" + substituteInPlace test/test_curly.ml \ + --replace-fail "let body_header b = [\"content-length\", string_of_int (String.length b)]" \ + "let body_header b = [\"connection\", \"keep-alive\"; \"content-length\", string_of_int (String.length b)]" ''; meta = {