ocamlPackages.enumerate: disable for OCaml ≥ 4.06

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

View File

@ -2,6 +2,10 @@
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.00";
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "enumerate-111.08.00 is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation {
name = "ocaml-enumerate-111.08.00";