mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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
|
||||
, 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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user