ocamlPackages.ocurl: enable curl.lwt
This commit is contained in:
parent
a71a2f2d25
commit
95433ce968
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, pkgconfig, ocaml, findlib, fetchurl, curl, ncurses }:
|
{ stdenv, lib, pkgconfig, ocaml, findlib, fetchurl, curl, ncurses, lwt }:
|
||||||
|
|
||||||
if lib.versionOlder ocaml.version "4.02"
|
if lib.versionOlder ocaml.version "4.02"
|
||||||
then throw "ocurl is not available for OCaml ${ocaml.version}"
|
then throw "ocurl is not available for OCaml ${ocaml.version}"
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig ocaml findlib ncurses ];
|
buildInputs = [ pkgconfig ocaml findlib ncurses ];
|
||||||
propagatedBuildInputs = [ curl ];
|
propagatedBuildInputs = [ curl lwt ];
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
meta = {
|
meta = {
|
||||||
description = "OCaml bindings to libcurl";
|
description = "OCaml bindings to libcurl";
|
||||||
|
|
Loading…
Reference in a new issue