diff --git a/pkgs/development/ocaml-modules/mirage-time/default.nix b/pkgs/development/ocaml-modules/mirage-time/default.nix index b98fd3b6279..2e91bda61d6 100644 --- a/pkgs/development/ocaml-modules/mirage-time/default.nix +++ b/pkgs/development/ocaml-modules/mirage-time/default.nix @@ -6,6 +6,8 @@ buildDunePackage rec { pname = "mirage-time"; version = "2.0.1"; + useDune2 = true; + src = fetchurl { url = "https://github.com/mirage/mirage-time/releases/download/v${version}/mirage-time-v${version}.tbz"; sha256 = "1w6mm4g7fc19cs0ncs0s9fsnb1k1s04qqzs9bsqvq8ngsb90cbh0"; diff --git a/pkgs/development/ocaml-modules/mirage-time/unix.nix b/pkgs/development/ocaml-modules/mirage-time/unix.nix index da5326bc075..c19ca30fe02 100644 --- a/pkgs/development/ocaml-modules/mirage-time/unix.nix +++ b/pkgs/development/ocaml-modules/mirage-time/unix.nix @@ -3,7 +3,7 @@ buildDunePackage { pname = "mirage-time-unix"; - inherit (mirage-time) src version minimumOCamlVersion; + inherit (mirage-time) src useDune2 version minimumOCamlVersion; propagatedBuildInputs = [ mirage-time ocaml_lwt duration ];