@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, m4, ncurses, ocaml, writeText}:
1+{ stdenv, fetchurl, fetchpatch, m4, ncurses, ocaml, writeText }:
22
33stdenv.mkDerivation rec {
44 name = "ocaml-findlib-${version}";
@@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [m4 ncurses ocaml];
1313
14− patches = [ ./ldconf.patch ./install_topfind.patch ];
14+ patches = [ ./ldconf.patch ./install_topfind.patch
15+ (fetchpatch {
16+ url = "https://raw.githubusercontent.com/ocaml/opam-repository/1f29c5ef8eccd373e5ff2169a30bfd95a9ae6050/packages/ocamlfind/ocamlfind.1.7.3-1/files/threads.patch";
17+ sha256 = "0cqgpjqpmfbr0ph3jr25gw8hgckj4qlfwmir6vkgi5hvn2qnjpx3";
18+ })
19+ ];
1520
1621 dontAddPrefix=true;
1722