summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/tls
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-07-05 19:40:30 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-07-05 19:40:31 +0000
commit3b0cd74f553e94afa6677358b196a7173dbae7a8 (patch)
tree8368b3d13f62f086e607713552091169b5943a72 /pkgs/development/ocaml-modules/tls
parent1bb95d8409aabcc9ee52045771b7c9109336fc2f (diff)
downloadnixlib-3b0cd74f553e94afa6677358b196a7173dbae7a8.tar
nixlib-3b0cd74f553e94afa6677358b196a7173dbae7a8.tar.gz
nixlib-3b0cd74f553e94afa6677358b196a7173dbae7a8.tar.bz2
nixlib-3b0cd74f553e94afa6677358b196a7173dbae7a8.tar.lz
nixlib-3b0cd74f553e94afa6677358b196a7173dbae7a8.tar.xz
nixlib-3b0cd74f553e94afa6677358b196a7173dbae7a8.tar.zst
nixlib-3b0cd74f553e94afa6677358b196a7173dbae7a8.zip
ocamlPackages.janeStreet: 0.10 -> 0.11
Diffstat (limited to 'pkgs/development/ocaml-modules/tls')
-rw-r--r--pkgs/development/ocaml-modules/tls/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/tls/default.nix b/pkgs/development/ocaml-modules/tls/default.nix
index 39f82772ffce..1e031b135d29 100644
--- a/pkgs/development/ocaml-modules/tls/default.nix
+++ b/pkgs/development/ocaml-modules/tls/default.nix
@@ -6,6 +6,10 @@ with stdenv.lib;
 
 let withLwt = lwt != null; in
 
+if !versionAtLeast ocaml.version "4.04"
+then throw "tls is not available for OCaml ${ocaml.version}"
+else
+
 stdenv.mkDerivation rec {
   version = "0.9.0";
   name = "ocaml${ocaml.version}-tls-${version}";