From c9d19defb1cc575c083bcfa92a8d5242a016243e Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 23 Mar 2023 06:04:09 +0100 Subject: [PATCH] ocamlPackages.mirage-net: use Dune 3 --- pkgs/development/ocaml-modules/mirage-net/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/mirage-net/default.nix b/pkgs/development/ocaml-modules/mirage-net/default.nix index bc7ae7d96b3c..bf4992df76f4 100644 --- a/pkgs/development/ocaml-modules/mirage-net/default.nix +++ b/pkgs/development/ocaml-modules/mirage-net/default.nix @@ -6,11 +6,11 @@ buildDunePackage rec { pname = "mirage-net"; version = "4.0.0"; - useDune2 = true; + duneVersion = "3"; src = fetchurl { url = "https://github.com/mirage/mirage-net/releases/download/v${version}/mirage-net-v${version}.tbz"; - sha256 = "sha256-Zo7/0Ye4GgqzJFCHDBXbuJ/5ETl/8ziolRgH4lDhlM4="; + hash = "sha256-Zo7/0Ye4GgqzJFCHDBXbuJ/5ETl/8ziolRgH4lDhlM4="; }; propagatedBuildInputs = [ cstruct fmt lwt macaddr mirage-device ];