diff options
author | Patrick Mahoney <pat@polycrystal.org> | 2017-04-22 13:33:09 -0500 |
---|---|---|
committer | Patrick Mahoney <pat@polycrystal.org> | 2017-04-22 13:33:09 -0500 |
commit | 02682e509389a6de23a2614da3b43abebf45a4f2 (patch) | |
tree | 8868c0f2d961f3b733a758ca05b8ca1911c0ac44 /pkgs/development/ocaml-modules | |
parent | 2f481960cfdca0f4bb135be45819c90e269f0d96 (diff) | |
download | nixlib-02682e509389a6de23a2614da3b43abebf45a4f2.tar nixlib-02682e509389a6de23a2614da3b43abebf45a4f2.tar.gz nixlib-02682e509389a6de23a2614da3b43abebf45a4f2.tar.bz2 nixlib-02682e509389a6de23a2614da3b43abebf45a4f2.tar.lz nixlib-02682e509389a6de23a2614da3b43abebf45a4f2.tar.xz nixlib-02682e509389a6de23a2614da3b43abebf45a4f2.tar.zst nixlib-02682e509389a6de23a2614da3b43abebf45a4f2.zip |
ocamlPackages.ocaml_lwt: use buildOcaml
This adds the shared objects setup hook to prepare CAML_LD_LIBRARY_PATH.
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/lwt/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/lwt/default.nix b/pkgs/development/ocaml-modules/lwt/default.nix index 53d5a25a39eb..d450a877517e 100644 --- a/pkgs/development/ocaml-modules/lwt/default.nix +++ b/pkgs/development/ocaml-modules/lwt/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchzip, which, cryptopp, ocaml, findlib, ocamlbuild, camlp4 +{ stdenv, buildOcaml, fetchzip, which, cryptopp, ocaml, findlib, ocamlbuild, camlp4 , ocaml_react, ocaml_ssl, libev, pkgconfig, ncurses, ocaml_oasis, glib , ppx_tools, result, cppo , ppxSupport ? stdenv.lib.versionAtLeast ocaml.version "4.02" @@ -15,8 +15,8 @@ let param = }; in -stdenv.mkDerivation rec { - name = "ocaml-lwt-${version}"; +buildOcaml rec { + name = "lwt"; inherit (param) version; src = fetchzip { @@ -36,6 +36,8 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; + hasSharedObjects = true; + meta = with stdenv.lib; { homepage = http://ocsigen.org/lwt; description = "Lightweight thread library for Objective Caml"; |