diff --git a/pkgs/development/ocaml-modules/mirage-clock/default.nix b/pkgs/development/ocaml-modules/mirage-clock/default.nix index 77d6b4ef7788..d0d8661dd7dd 100644 --- a/pkgs/development/ocaml-modules/mirage-clock/default.nix +++ b/pkgs/development/ocaml-modules/mirage-clock/default.nix @@ -4,6 +4,8 @@ buildDunePackage rec { pname = "mirage-clock"; version = "3.1.0"; + useDune2 = true; + src = fetchurl { url = "https://github.com/mirage/mirage-clock/releases/download/v${version}/mirage-clock-v${version}.tbz"; sha256 = "0cqa07aqkamw0dvis1fl46brvk81zvb92iy5076ik62gv9n5a0mn"; diff --git a/pkgs/development/ocaml-modules/mirage-clock/unix.nix b/pkgs/development/ocaml-modules/mirage-clock/unix.nix index 5918d89221f2..355cffaaa157 100644 --- a/pkgs/development/ocaml-modules/mirage-clock/unix.nix +++ b/pkgs/development/ocaml-modules/mirage-clock/unix.nix @@ -1,9 +1,11 @@ -{ buildDunePackage, mirage-clock }: +{ buildDunePackage, mirage-clock, dune-configurator }: buildDunePackage { pname = "mirage-clock-unix"; - inherit (mirage-clock) version src; + inherit (mirage-clock) version useDune2 src; + + buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ mirage-clock ];