diff --git a/pkgs/development/ocaml-modules/ocplib-json-typed/bson.nix b/pkgs/development/ocaml-modules/ocplib-json-typed/bson.nix index 350c31a3819d..f95a25d25f2e 100644 --- a/pkgs/development/ocaml-modules/ocplib-json-typed/bson.nix +++ b/pkgs/development/ocaml-modules/ocplib-json-typed/bson.nix @@ -2,7 +2,7 @@ buildDunePackage { pname = "ocplib-json-typed-bson"; - inherit (ocplib-json-typed) version src; + inherit (ocplib-json-typed) version useDune2 src; propagatedBuildInputs = [ ocplib-json-typed ocplib-endian ]; diff --git a/pkgs/development/ocaml-modules/ocplib-json-typed/default.nix b/pkgs/development/ocaml-modules/ocplib-json-typed/default.nix index 6a1b906d7f2b..6a3de6292d8c 100644 --- a/pkgs/development/ocaml-modules/ocplib-json-typed/default.nix +++ b/pkgs/development/ocaml-modules/ocplib-json-typed/default.nix @@ -3,6 +3,7 @@ buildDunePackage rec { pname = "ocplib-json-typed"; version = "0.7.1"; + useDune2 = true; src = fetchFromGitHub { owner = "OCamlPro"; repo = "ocplib-json-typed";