diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-07-05 19:40:30 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-07-05 19:40:31 +0000 |
commit | 3b0cd74f553e94afa6677358b196a7173dbae7a8 (patch) | |
tree | 8368b3d13f62f086e607713552091169b5943a72 /pkgs/development/ocaml-modules/tls | |
parent | 1bb95d8409aabcc9ee52045771b7c9109336fc2f (diff) | |
download | nixlib-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.nix | 4 |
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}"; |