3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.ocaml-migrate-parsetree: disable with OCaml ≥ 4.13

This commit is contained in:
Vincent Laporte 2021-10-17 22:05:58 +02:00 committed by Vincent Laporte
parent 5bd7b7017b
commit 87b8f79fa4

View file

@ -1,5 +1,9 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, result, ppx_derivers }:
if lib.versionOlder "4.13" ocaml.version
then throw "ocaml-migrate-parsetree-1.8 is not available for OCaml ${ocaml.version}"
else
buildDunePackage rec {
pname = "ocaml-migrate-parsetree";
version = "1.8.0";