summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lwt
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-08-21 14:14:54 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-08-29 12:49:40 +0000
commit4f7c4e70e4007b270247de66a73f4ba9a9f3c995 (patch)
treedd9c93db74512aa0ffa81d922ffb3c301bc62185 /pkgs/development/ocaml-modules/lwt
parent78b8fc7a757aa30db59a0b41c2a1fcfa47ea2e28 (diff)
downloadnixlib-4f7c4e70e4007b270247de66a73f4ba9a9f3c995.tar
nixlib-4f7c4e70e4007b270247de66a73f4ba9a9f3c995.tar.gz
nixlib-4f7c4e70e4007b270247de66a73f4ba9a9f3c995.tar.bz2
nixlib-4f7c4e70e4007b270247de66a73f4ba9a9f3c995.tar.lz
nixlib-4f7c4e70e4007b270247de66a73f4ba9a9f3c995.tar.xz
nixlib-4f7c4e70e4007b270247de66a73f4ba9a9f3c995.tar.zst
nixlib-4f7c4e70e4007b270247de66a73f4ba9a9f3c995.zip
ocamlPackages.lwt2: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development/ocaml-modules/lwt')
-rw-r--r--pkgs/development/ocaml-modules/lwt/legacy.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt/legacy.nix b/pkgs/development/ocaml-modules/lwt/legacy.nix
index 53ba904f628e..cd40a5051be9 100644
--- a/pkgs/development/ocaml-modules/lwt/legacy.nix
+++ b/pkgs/development/ocaml-modules/lwt/legacy.nix
@@ -6,6 +6,7 @@
 }:
 
 if !stdenv.lib.versionAtLeast ocaml.version "4"
+ || stdenv.lib.versionAtLeast ocaml.version "4.06"
 then throw "lwt is not available for OCaml ${ocaml.version}"
 else