diff --git a/pkgs/development/ocaml-modules/xtmpl/default.nix b/pkgs/development/ocaml-modules/xtmpl/default.nix index 6b4771fe1ff..47e153e53c2 100644 --- a/pkgs/development/ocaml-modules/xtmpl/default.nix +++ b/pkgs/development/ocaml-modules/xtmpl/default.nix @@ -3,7 +3,7 @@ buildDunePackage rec { pname = "xtmpl"; version = "0.19.0"; - useDune2 = true; + duneVersion = "3"; src = fetchFromGitLab { domain = "framagit.org"; owner = "zoggy"; diff --git a/pkgs/development/ocaml-modules/xtmpl/ppx.nix b/pkgs/development/ocaml-modules/xtmpl/ppx.nix index b6f5bd65000..0e23cdc48f7 100644 --- a/pkgs/development/ocaml-modules/xtmpl/ppx.nix +++ b/pkgs/development/ocaml-modules/xtmpl/ppx.nix @@ -3,8 +3,9 @@ buildDunePackage { pname = "xtmpl_ppx"; minimalOCamlVersion = "4.11"; + duneVersion = "3"; - inherit (xtmpl) src version useDune2; + inherit (xtmpl) src version; buildInputs = [ ppxlib xtmpl ];