diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-11-19 07:36:30 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-11-26 06:55:12 +0100 |
commit | ca737449c4601060b8d72c09048fc4c13e53ea3b (patch) | |
tree | 465aaf561fac083f5a32f5124ace99d3355c32d7 /pkgs/development/ocaml-modules | |
parent | e1fe267f096535fb5d8ea7ce666e13da45a98f18 (diff) |
ocamlPackages.macaddr-{cstruct,sexp}: use Dune 2
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/macaddr/cstruct.nix | 2 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/macaddr/sexp.nix | 2 |
2 files changed, 4 insertions, 0 deletions
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 ]; |