git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.earlybird: disable for OCaml ≥ 4.08
commit4ada24a02ca53ab90337c52bb0ea95262a7a6a7a authorVincent Laporte <Vincent.Laporte@gmail.com> dateSun 8 Mar 2020, 16:58 (7 years ago) parentbdcba83
1 file changed+5−1
pkgs/development/ocaml-modules/earlybird/default.nix+5−1
pkgs/development/ocaml-modules/earlybird/default.nix+5−1
@@ -1,7 +1,11 @@
1−{ lib, fetchurl, buildDunePackage, angstrom, angstrom-lwt-unix,
1+{ lib, fetchurl, ocaml, buildDunePackage, angstrom, angstrom-lwt-unix,
22 batteries, cmdliner, lwt_ppx, ocaml_lwt, ppx_deriving_yojson,
33 ppx_tools_versioned, yojson }:
44
5+if lib.versionAtLeast ocaml.version "4.08"
6+then throw "earlybird is not available for OCaml ${ocaml.version}"
7+else
8+
59buildDunePackage rec {
610 pname = "earlybird";
711 version = "0.1.5";