ocamlPackages.conduit-lwt-unix: add SSL support

This makes it possible to run the example given at
https://github.com/mirage/ocaml-cohttp#client-tutorial
This commit is contained in:
Théo Zimmermann 2018-05-15 15:31:28 +02:00 committed by Vincent Laporte
parent 14d7d39d5f
commit 202f19b225

View file

@ -1,5 +1,5 @@
{ stdenv, ocaml, findlib, jbuilder, conduit-lwt
, logs, ppx_sexp_conv
, logs, ppx_sexp_conv, lwt_ssl
}:
if !stdenv.lib.versionAtLeast conduit-lwt.version "1.0"
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ ocaml findlib jbuilder ppx_sexp_conv ];
propagatedBuildInputs = [ conduit-lwt logs ];
propagatedBuildInputs = [ conduit-lwt logs lwt_ssl ];
buildPhase = "jbuilder build -p conduit-lwt-unix";
}