ocamlPackages.earley: disable for OCaml ≥ 4.08
This commit is contained in:
parent
4adfbe6c7b
commit
bdcba83153
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
{ lib, fetchurl, buildDunePackage }:
|
||||
{ lib, fetchurl, ocaml, buildDunePackage }:
|
||||
|
||||
if lib.versionAtLeast ocaml.version "4.08"
|
||||
then throw "earley is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
buildDunePackage rec {
|
||||
version = "2.0.0";
|
||||
|
|
Loading…
Reference in a new issue