ocamlPackages.fieldslib_p4: disable for OCaml ≥ 4.06

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

View File

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