summary refs log tree commit diff
diff options
context:
space:
mode:
authorThéo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-05-15 15:31:28 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2018-05-15 17:38:24 +0200
commit202f19b225b08919f331444c5f8f37704c0d4d0d (patch)
tree51000f56479edeb0ce9dfd70a676c50374cf08a2
parent14d7d39d5f94f42dc655a5358ee7906aee81e4ad (diff)
downloadnixlib-202f19b225b08919f331444c5f8f37704c0d4d0d.tar
nixlib-202f19b225b08919f331444c5f8f37704c0d4d0d.tar.gz
nixlib-202f19b225b08919f331444c5f8f37704c0d4d0d.tar.bz2
nixlib-202f19b225b08919f331444c5f8f37704c0d4d0d.tar.lz
nixlib-202f19b225b08919f331444c5f8f37704c0d4d0d.tar.xz
nixlib-202f19b225b08919f331444c5f8f37704c0d4d0d.tar.zst
nixlib-202f19b225b08919f331444c5f8f37704c0d4d0d.zip
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
-rw-r--r--pkgs/development/ocaml-modules/conduit/lwt-unix.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/conduit/lwt-unix.nix b/pkgs/development/ocaml-modules/conduit/lwt-unix.nix
index ce7a33a11eed..5f33bbc42c10 100644
--- a/pkgs/development/ocaml-modules/conduit/lwt-unix.nix
+++ b/pkgs/development/ocaml-modules/conduit/lwt-unix.nix
@@ -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";
 }