ocamlPackages.ocurl: enable curl.lwt

This commit is contained in:
sternenseemann
2021-01-16 19:06:55 +01:00
committed by Benno Fünfstück
parent a71a2f2d25
commit 95433ce968
@@ -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";