From cdfa6c7e80456bee0a403f8dbbaaa0227135f920 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 2 May 2023 06:08:08 +0200 Subject: [PATCH] ocamlPackages.ppx_deriving: use Dune 3 --- pkgs/development/ocaml-modules/ppx_deriving/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/ppx_deriving/default.nix b/pkgs/development/ocaml-modules/ppx_deriving/default.nix index e1c31c3ec28e..b911b3da1886 100644 --- a/pkgs/development/ocaml-modules/ppx_deriving/default.nix +++ b/pkgs/development/ocaml-modules/ppx_deriving/default.nix @@ -2,6 +2,7 @@ , fetchurl , buildDunePackage , ocaml +, findlib , cppo , ppxlib , ppx_derivers @@ -32,7 +33,7 @@ buildDunePackage rec { pname = "ppx_deriving"; inherit (params) version; - useDune2 = true; + duneVersion = "3"; src = fetchurl { url = "https://github.com/ocaml-ppx/ppx_deriving/releases/download/v${version}/ppx_deriving-v${version}.tbz"; @@ -42,7 +43,7 @@ buildDunePackage rec { strictDeps = true; nativeBuildInputs = [ cppo ]; - buildInputs = [ ppxlib ]; + buildInputs = [ findlib ppxlib ]; propagatedBuildInputs = [ (if params.useOMP2 then ocaml-migrate-parsetree-2