From 8acf83fbb852f73f8b1d208b83437a09d24bdf20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= Date: Mon, 8 Jul 2024 14:45:21 +0200 Subject: [PATCH] Add missing eio_main dependency to cohttp-bench --- cohttp-bench.opam | 1 + dune-project | 1 + flake.nix | 10 +++++----- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/cohttp-bench.opam b/cohttp-bench.opam index 4d2e1c565..23c4b5218 100644 --- a/cohttp-bench.opam +++ b/cohttp-bench.opam @@ -27,6 +27,7 @@ depends: [ "core" {>= "v0.13.0"} "core_bench" "eio" {>= "0.12"} + "eio_main" "http" {= version} "cohttp" {= version} "cohttp-eio" {= version} diff --git a/dune-project b/dune-project index cccc68178..2a94cfb45 100644 --- a/dune-project +++ b/dune-project @@ -349,6 +349,7 @@ core_bench (eio (>= 0.12)) + eio_main (http (= :version)) (cohttp diff --git a/flake.nix b/flake.nix index 24602aa12..c02dfced2 100644 --- a/flake.nix +++ b/flake.nix @@ -64,7 +64,7 @@ checkInputs = [ uri fmt ounit2 alcotest cohttp-async ]; propagatedBuildInputs = [ ocurl http stringext cohttp-curl core core_unix - async_kernel async_unix + async_kernel async_unix ]; }; cohttp-lwt = pkg { @@ -103,11 +103,11 @@ cohttp-eio = pkg { pname = "cohttp-eio"; checkInputs = [ - alcotest eio_main mdx ppx_here - tls-eio + alcotest eio mdx ppx_here + tls-eio mirage-crypto-rng-eio ]; - propagatedBuildInputs = [ cohttp eio eio_main logs uri fmt ptime http ]; + propagatedBuildInputs = [ cohttp eio logs uri fmt ptime http ]; }; cohttp-mirage = pkg { pname = "cohttp-mirage"; @@ -119,7 +119,7 @@ cohttp-bench = pkg { pname = "cohttp-bench"; buildInputs = [ - core core_bench eio http cohttp cohttp-eio + core core_bench eio eio_main http cohttp cohttp-eio cohttp-lwt-unix cohttp-server-lwt-unix cohttp-async ]; };