ocamlPackages.findlib: fix META for library threads

This commit is contained in:
Vincent Laporte 2018-03-15 17:13:02 +00:00 committed by Vincent Laporte
parent 4b19ab9635
commit 2455478754

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, m4, ncurses, ocaml, writeText}:
{ stdenv, fetchurl, fetchpatch, m4, ncurses, ocaml, writeText }:
stdenv.mkDerivation rec {
name = "ocaml-findlib-${version}";
@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
buildInputs = [m4 ncurses ocaml];
patches = [ ./ldconf.patch ./install_topfind.patch ];
patches = [ ./ldconf.patch ./install_topfind.patch
(fetchpatch {
url = "https://raw.githubusercontent.com/ocaml/opam-repository/1f29c5ef8eccd373e5ff2169a30bfd95a9ae6050/packages/ocamlfind/ocamlfind.1.7.3-1/files/threads.patch";
sha256 = "0cqgpjqpmfbr0ph3jr25gw8hgckj4qlfwmir6vkgi5hvn2qnjpx3";
})
];
dontAddPrefix=true;