ocamlPackages.erm_xml: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 18:18:49 +00:00
parent 9590e46c05
commit 24f47da9b3
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,5 +1,9 @@
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "erm_xml is not available for OCaml ${ocaml.version}"
else
let version = "0.3"; in
stdenv.mkDerivation {