diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-12-05 17:27:26 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-12-08 17:19:48 +0100 |
commit | e56e8d4f7405f1739b63661f0905502f0f9eb2c8 (patch) | |
tree | 030be67af32263af9c7860e768203bd1e77cad1d /pkgs/development/ocaml-modules/mirage-time | |
parent | 39ad6d53746a97e5b58745ccf1a42453f9d1cb48 (diff) |
ocamlPackages.mirage-time: use Dune 2
Diffstat (limited to 'pkgs/development/ocaml-modules/mirage-time')
-rw-r--r-- | pkgs/development/ocaml-modules/mirage-time/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/mirage-time/unix.nix | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-time/default.nix b/pkgs/development/ocaml-modules/mirage-time/default.nix index b98fd3b6279c7..2e91bda61d6bd 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 da5326bc0751f..c19ca30fe024a 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 ]; |