From 24b4e1094ea65a4f76b77fecb72e92bb03eeedce Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 5 Dec 2020 23:23:58 +0100 Subject: [PATCH] ocamlPackages.ocplib-json-typed: use Dune 2 --- pkgs/development/ocaml-modules/ocplib-json-typed/bson.nix | 2 +- pkgs/development/ocaml-modules/ocplib-json-typed/default.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/ocplib-json-typed/bson.nix b/pkgs/development/ocaml-modules/ocplib-json-typed/bson.nix index 350c31a3819d..f95a25d25f2e 100644 --- a/pkgs/development/ocaml-modules/ocplib-json-typed/bson.nix +++ b/pkgs/development/ocaml-modules/ocplib-json-typed/bson.nix @@ -2,7 +2,7 @@ buildDunePackage { pname = "ocplib-json-typed-bson"; - inherit (ocplib-json-typed) version src; + inherit (ocplib-json-typed) version useDune2 src; propagatedBuildInputs = [ ocplib-json-typed ocplib-endian ]; diff --git a/pkgs/development/ocaml-modules/ocplib-json-typed/default.nix b/pkgs/development/ocaml-modules/ocplib-json-typed/default.nix index 6a1b906d7f2b..6a3de6292d8c 100644 --- a/pkgs/development/ocaml-modules/ocplib-json-typed/default.nix +++ b/pkgs/development/ocaml-modules/ocplib-json-typed/default.nix @@ -3,6 +3,7 @@ buildDunePackage rec { pname = "ocplib-json-typed"; version = "0.7.1"; + useDune2 = true; src = fetchFromGitHub { owner = "OCamlPro"; repo = "ocplib-json-typed";