aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp/default.nix2
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp/lwt.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp/default.nix b/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp/default.nix
index 6cb802e437d7..3fed7c55d452 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp/default.nix
+++ b/infra/libkookie/nixpkgs/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/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp/lwt.nix b/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp/lwt.nix
index 1f261be62022..8357d748ce8f 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/cohttp/lwt.nix
+++ b/infra/libkookie/nixpkgs/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 ];