diff --git a/pkgs/development/ocaml-modules/bitstring/default.nix b/pkgs/development/ocaml-modules/bitstring/default.nix index 12ed4ae787d..00546ffba10 100644 --- a/pkgs/development/ocaml-modules/bitstring/default.nix +++ b/pkgs/development/ocaml-modules/bitstring/default.nix @@ -4,7 +4,7 @@ buildDunePackage rec { pname = "bitstring"; version = "4.1.0"; - useDune2 = true; + duneVersion = "3"; src = fetchFromGitHub { owner = "xguerin"; diff --git a/pkgs/development/ocaml-modules/bitstring/ppx.nix b/pkgs/development/ocaml-modules/bitstring/ppx.nix index 9eb4c74f574..87370ef64b2 100644 --- a/pkgs/development/ocaml-modules/bitstring/ppx.nix +++ b/pkgs/development/ocaml-modules/bitstring/ppx.nix @@ -9,7 +9,9 @@ else buildDunePackage rec { pname = "ppx_bitstring"; - inherit (bitstring) version useDune2 src; + inherit (bitstring) version src; + + duneVersion = "3"; buildInputs = [ bitstring ppxlib ];