ocamlPackages.ocaml-migrate-parsetree: use Dune 3

This commit is contained in:
Vincent Laporte 2023-04-09 07:08:29 +02:00 committed by Vincent Laporte
parent 244c5561fb
commit 0939a9604d

View file

@ -8,7 +8,7 @@ buildDunePackage rec {
pname = "ocaml-migrate-parsetree";
version = "1.8.0";
useDune2 = lib.versionAtLeast ocaml.version "4.08";
duneVersion = if lib.versionAtLeast ocaml.version "4.08" then "3" else "1";
src = fetchFromGitHub {
owner = "ocaml-ppx";