diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/cohttp/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/cohttp/lwt.nix | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/cohttp/default.nix b/pkgs/development/ocaml-modules/cohttp/default.nix index 6cb802e437d7f..3fed7c55d4521 100644 --- a/pkgs/development/ocaml-modules/cohttp/default.nix +++ b/pkgs/development/ocaml-modules/cohttp/default.nix @@ -7,6 +7,8 @@ buildDunePackage rec { pname = "cohttp"; version = "2.5.4"; + useDune2 = true; + minimumOCamlVersion = "4.04.1"; src = fetchurl { diff --git a/pkgs/development/ocaml-modules/cohttp/lwt.nix b/pkgs/development/ocaml-modules/cohttp/lwt.nix index 1f261be62022c..8357d748ce8f9 100644 --- a/pkgs/development/ocaml-modules/cohttp/lwt.nix +++ b/pkgs/development/ocaml-modules/cohttp/lwt.nix @@ -8,7 +8,7 @@ else buildDunePackage { pname = "cohttp-lwt"; - inherit (cohttp) version src meta; + inherit (cohttp) version src useDune2 meta; buildInputs = [ uri ppx_sexp_conv ]; |