Skip to content

Commit

Permalink
ocamlPackages.mirage-time: use Dune 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Dec 8, 2020
1 parent 39ad6d5 commit e56e8d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pkgs/development/ocaml-modules/mirage-time/default.nix
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/mirage-time/unix.nix
Expand Up @@ -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 ];

Expand Down

0 comments on commit e56e8d4

Please sign in to comment.