mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
ocamlPackages.earlybird: disable for OCaml ≥ 4.08
This commit is contained in:
parent
bdcba83153
commit
4ada24a02c
|
@ -1,7 +1,11 @@
|
||||||
{ lib, fetchurl, buildDunePackage, angstrom, angstrom-lwt-unix,
|
{ lib, fetchurl, ocaml, buildDunePackage, angstrom, angstrom-lwt-unix,
|
||||||
batteries, cmdliner, lwt_ppx, ocaml_lwt, ppx_deriving_yojson,
|
batteries, cmdliner, lwt_ppx, ocaml_lwt, ppx_deriving_yojson,
|
||||||
ppx_tools_versioned, yojson }:
|
ppx_tools_versioned, yojson }:
|
||||||
|
|
||||||
|
if lib.versionAtLeast ocaml.version "4.08"
|
||||||
|
then throw "earlybird is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "earlybird";
|
pname = "earlybird";
|
||||||
version = "0.1.5";
|
version = "0.1.5";
|
||||||
|
|
Loading…
Reference in a new issue