ocamlPackages.ulex08: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 14:24:41 +00:00
parent 4f7c4e70e4
commit 84e3cece28
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -4,6 +4,10 @@ let
pname = "ulex";
in
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "ulex-0.8 is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "0.8";