ocamlPackages.omake_rc1: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 16:32:48 +00:00
parent ea276e21cf
commit 450e358040
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -4,6 +4,11 @@ let
version = "0.9.8.6-0.rc1";
webpage = "http://omake.metaprl.org";
in
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "${pname}-${version} is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation {
name = "${pname}-${version}";