ocamlPackages.ocaml-migrate-parsetree: use Dune 2
This commit is contained in:
parent
1e1d6f4648
commit
f12fb9fbe6
@ -1,9 +1,11 @@
|
|||||||
{ lib, fetchFromGitHub, buildDunePackage, result, ppx_derivers }:
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml, result, ppx_derivers }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "ocaml-migrate-parsetree";
|
pname = "ocaml-migrate-parsetree";
|
||||||
version = "1.8.0";
|
version = "1.8.0";
|
||||||
|
|
||||||
|
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ocaml-ppx";
|
owner = "ocaml-ppx";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user