diff --git a/pkgs/development/ocaml-modules/mirage-flow/combinators.nix b/pkgs/development/ocaml-modules/mirage-flow/combinators.nix index 2ad6e5b0b97..d4904e77430 100644 --- a/pkgs/development/ocaml-modules/mirage-flow/combinators.nix +++ b/pkgs/development/ocaml-modules/mirage-flow/combinators.nix @@ -3,7 +3,7 @@ buildDunePackage { pname = "mirage-flow-combinators"; - inherit (mirage-flow) version src; + inherit (mirage-flow) version useDune2 src; propagatedBuildInputs = [ ocaml_lwt logs cstruct mirage-clock mirage-flow ]; diff --git a/pkgs/development/ocaml-modules/mirage-flow/default.nix b/pkgs/development/ocaml-modules/mirage-flow/default.nix index 25bb5e0f32d..d6ba6603596 100644 --- a/pkgs/development/ocaml-modules/mirage-flow/default.nix +++ b/pkgs/development/ocaml-modules/mirage-flow/default.nix @@ -4,6 +4,7 @@ buildDunePackage rec { pname = "mirage-flow"; version = "2.0.1"; + useDune2 = true; minimumOCamlVersion = "4.05"; src = fetchurl { diff --git a/pkgs/development/ocaml-modules/mirage-flow/unix.nix b/pkgs/development/ocaml-modules/mirage-flow/unix.nix index 7a20ca87f8f..3bd676b45fa 100644 --- a/pkgs/development/ocaml-modules/mirage-flow/unix.nix +++ b/pkgs/development/ocaml-modules/mirage-flow/unix.nix @@ -4,7 +4,7 @@ buildDunePackage { pname = "mirage-flow-unix"; - inherit (mirage-flow) version src; + inherit (mirage-flow) version useDune2 src; propagatedBuildInputs = [ fmt logs mirage-flow ocaml_lwt cstruct ];