ocamlPackages.variantslib_p4: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 13:30:36 +00:00
parent a04f3afc3c
commit efbc322c9f
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,4 +1,8 @@
{stdenv, buildOcaml, fetchurl, type_conv}:
{ stdenv, buildOcaml, ocaml, fetchurl, type_conv }:
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "variantslib-109.15.03 is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
name = "variantslib";