ocamlPackages.ocaml-migrate-parsetree-2: disable for OCaml ≥ 5.1

This commit is contained in:
Vincent Laporte
2023-09-21 07:17:58 +02:00
committed by Vincent Laporte
parent 98e16e4c28
commit b802bf0b95
@@ -1,4 +1,7 @@
{ lib, fetchurl, buildDunePackage }:
{ lib, fetchurl, buildDunePackage, ocaml }:
lib.throwIf (lib.versionAtLeast ocaml.version "5.1")
"ocaml-migrate-parsetree is not available for OCaml ${ocaml.version}"
buildDunePackage rec {
pname = "ocaml-migrate-parsetree";