diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-03-15 17:13:02 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2018-03-25 18:33:13 +0200 |
commit | 2455478754f6757e0648e8c8a276da45b0b4fa1c (patch) | |
tree | df860d249b64c4d8adaf461e9d2f261c006cfb1f /pkgs/development/tools/ocaml | |
parent | 4b19ab9635faec6221eb097d1fc879969c62f27c (diff) | |
download | nixpkgs-2455478754f6757e0648e8c8a276da45b0b4fa1c.tar nixpkgs-2455478754f6757e0648e8c8a276da45b0b4fa1c.tar.gz nixpkgs-2455478754f6757e0648e8c8a276da45b0b4fa1c.tar.bz2 nixpkgs-2455478754f6757e0648e8c8a276da45b0b4fa1c.tar.lz nixpkgs-2455478754f6757e0648e8c8a276da45b0b4fa1c.tar.xz nixpkgs-2455478754f6757e0648e8c8a276da45b0b4fa1c.tar.zst nixpkgs-2455478754f6757e0648e8c8a276da45b0b4fa1c.zip |
ocamlPackages.findlib: fix META for library `threads`
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r-- | pkgs/development/tools/ocaml/findlib/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/tools/ocaml/findlib/default.nix b/pkgs/development/tools/ocaml/findlib/default.nix index 186b78ce3f3..997a81f889e 100644 --- a/pkgs/development/tools/ocaml/findlib/default.nix +++ b/pkgs/development/tools/ocaml/findlib/default.nix @@ -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; |