From 1b988d864ec28a0e9c59c8b2adbadff1157e00ed Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 2 May 2023 06:08:12 +0200 Subject: [PATCH] ocamlPackages.bitstring: use Dune 3 --- pkgs/development/ocaml-modules/bitstring/default.nix | 2 +- pkgs/development/ocaml-modules/bitstring/ppx.nix | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 ];