From 866496759ff239ca55063fa6d76043c14f72d20f Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 28 Jan 2025 09:11:38 +0100 Subject: [PATCH] ocamlPackages.async_ssl: fix for OCaml 5.3 --- pkgs/development/ocaml-modules/janestreet/0.17.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/ocaml-modules/janestreet/0.17.nix b/pkgs/development/ocaml-modules/janestreet/0.17.nix index 43d600469aeb..a6bba01f125b 100644 --- a/pkgs/development/ocaml-modules/janestreet/0.17.nix +++ b/pkgs/development/ocaml-modules/janestreet/0.17.nix @@ -212,6 +212,10 @@ with self; ctypes-foreign openssl ]; + patches = fetchpatch { + url = "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/async_ssl/no-incompatible-pointer-types-017.patch"; + hash = "sha256-bpfIi97/b1hIwsFzsmhFAZV1w8CdaMxXoi72ScSYMjY="; + }; }; async_unix = janePackage {