ocamlPackages.type_conv-{108,109}: disable for OCaml ≥ 4.03

This commit is contained in:
Vincent Laporte 2017-06-26 05:02:42 +02:00
parent 41b3b2c077
commit e082162f09
2 changed files with 6 additions and 2 deletions

View File

@ -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";

View File

@ -1,6 +1,8 @@
{stdenv, fetchurl, ocaml, findlib, camlp4}:
assert stdenv.lib.versionOlder "4.00" ocaml.version;
if !stdenv.lib.versionAtLeast ocaml.version "4.00"
|| stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "type_conv-109.60.01 is not available for OCaml ${ocaml.version}" else
stdenv.mkDerivation {
name = "ocaml-type_conv-109.60.01";