From ca737449c4601060b8d72c09048fc4c13e53ea3b Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 19 Nov 2020 07:36:30 +0100 Subject: [PATCH] ocamlPackages.macaddr-{cstruct,sexp}: use Dune 2 --- pkgs/development/ocaml-modules/macaddr/cstruct.nix | 2 ++ pkgs/development/ocaml-modules/macaddr/sexp.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/development/ocaml-modules/macaddr/cstruct.nix b/pkgs/development/ocaml-modules/macaddr/cstruct.nix index 991a77a6ba21..143230408920 100644 --- a/pkgs/development/ocaml-modules/macaddr/cstruct.nix +++ b/pkgs/development/ocaml-modules/macaddr/cstruct.nix @@ -7,6 +7,8 @@ buildDunePackage { inherit (macaddr) version src minimumOCamlVersion; + useDune2 = true; + propagatedBuildInputs = [ macaddr cstruct ]; doCheck = true; diff --git a/pkgs/development/ocaml-modules/macaddr/sexp.nix b/pkgs/development/ocaml-modules/macaddr/sexp.nix index 3d0305c4be38..35cc7c6b4401 100644 --- a/pkgs/development/ocaml-modules/macaddr/sexp.nix +++ b/pkgs/development/ocaml-modules/macaddr/sexp.nix @@ -7,6 +7,8 @@ buildDunePackage { inherit (macaddr) version src minimumOCamlVersion; + useDune2 = true; + propagatedBuildInputs = [ ppx_sexp_conv ]; checkInputs = [ macaddr-cstruct ounit ];