diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-06-26 05:02:42 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-06-26 05:02:42 +0200 |
commit | e082162f09a74ef0c5c962da6c27d33f77c7af56 (patch) | |
tree | babd8b43acf5a0f9de754405cc3f506204b4e448 /pkgs/development/ocaml-modules/type_conv/108.08.00.nix | |
parent | 41b3b2c0776ff637fd33d4b12f33cbbbf95e8017 (diff) |
ocamlPackages.type_conv-{108,109}: disable for OCaml ≥ 4.03
Diffstat (limited to 'pkgs/development/ocaml-modules/type_conv/108.08.00.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/type_conv/108.08.00.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/type_conv/108.08.00.nix b/pkgs/development/ocaml-modules/type_conv/108.08.00.nix index 4a3d8c58f0bae..f17e5a7b89ef5 100644 --- a/pkgs/development/ocaml-modules/type_conv/108.08.00.nix +++ b/pkgs/development/ocaml-modules/type_conv/108.08.00.nix @@ -1,6 +1,8 @@ {stdenv, fetchurl, ocaml, findlib, camlp4}: -assert stdenv.lib.versionOlder "3.12" ocaml.version; +if !stdenv.lib.versionAtLeast ocaml.version "3.12" +|| stdenv.lib.versionAtLeast ocaml.version "4.03" +then throw "type_conv-108.08.00 is not available for OCaml ${ocaml.version}" else stdenv.mkDerivation { name = "ocaml-type_conv-108.08.00"; |