ocamlPackages.faillib: disable for OCaml ≥ 4.06

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

View File

@ -1,4 +1,8 @@
{stdenv, buildOcaml, fetchurl, herelib, camlp4}:
{ stdenv, buildOcaml, fetchurl, ocaml, herelib, camlp4 }:
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "faillib-111.17.00 is not available for OCaml ${ocaml.version}"
else
buildOcaml rec {
minimumSupportedOcamlVersion = "4.00";