diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-21 13:40:03 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-08-29 12:49:39 +0000 |
commit | 354dedfec3691f5504429bcb876a8b8e4e007323 (patch) | |
tree | cf3290902f383afcebb9142f8047c9d17133718a /pkgs/development | |
parent | 09821d23ba3fe37a26d30592e6833de336581212 (diff) | |
download | nixlib-354dedfec3691f5504429bcb876a8b8e4e007323.tar nixlib-354dedfec3691f5504429bcb876a8b8e4e007323.tar.gz nixlib-354dedfec3691f5504429bcb876a8b8e4e007323.tar.bz2 nixlib-354dedfec3691f5504429bcb876a8b8e4e007323.tar.lz nixlib-354dedfec3691f5504429bcb876a8b8e4e007323.tar.xz nixlib-354dedfec3691f5504429bcb876a8b8e4e007323.tar.zst nixlib-354dedfec3691f5504429bcb876a8b8e4e007323.zip |
ocamlPackages.camlimages_4_1: disable for OCaml ≥ 4.06
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/camlimages/4.1.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/camlimages/4.1.nix b/pkgs/development/ocaml-modules/camlimages/4.1.nix index 77a252de52fd..31b4047efc81 100644 --- a/pkgs/development/ocaml-modules/camlimages/4.1.nix +++ b/pkgs/development/ocaml-modules/camlimages/4.1.nix @@ -2,6 +2,10 @@ assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00"; +if stdenv.lib.versionAtLeast ocaml.version "4.06" +then throw "camlimages-4.1.2 is not available for OCaml ${ocaml.version}" +else + let pname = "camlimages"; version = "4.1.2"; |