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:
parent
14d7d39d5f
commit
202f19b225
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, ocaml, findlib, jbuilder, conduit-lwt
|
{ 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"
|
if !stdenv.lib.versionAtLeast conduit-lwt.version "1.0"
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ocaml findlib jbuilder ppx_sexp_conv ];
|
buildInputs = [ ocaml findlib jbuilder ppx_sexp_conv ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ conduit-lwt logs ];
|
propagatedBuildInputs = [ conduit-lwt logs lwt_ssl ];
|
||||||
|
|
||||||
buildPhase = "jbuilder build -p conduit-lwt-unix";
|
buildPhase = "jbuilder build -p conduit-lwt-unix";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user