From 21c9f7de2240cdb2391591ae929f64501be33fa9 Mon Sep 17 00:00:00 2001 From: Daniel Quernheim Date: Thu, 13 Jul 2023 14:47:57 +0200 Subject: [PATCH] ocamlPackages.eio_main: depend on `eio_linux` instead of `uring` Otherwise, Eio falls back to using the POSIX backend or fails with "The io_uring backend was disabled at compile-time" --- pkgs/development/ocaml-modules/eio/main.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/eio/main.nix b/pkgs/development/ocaml-modules/eio/main.nix index 32a6affef0e0..def30f2a0597 100644 --- a/pkgs/development/ocaml-modules/eio/main.nix +++ b/pkgs/development/ocaml-modules/eio/main.nix @@ -3,7 +3,7 @@ , buildDunePackage , eio , eio_posix -, uring +, eio_linux }: buildDunePackage { @@ -18,6 +18,6 @@ buildDunePackage { propagatedBuildInputs = [ eio_posix ] ++ lib.optionals stdenv.isLinux [ - uring + eio_linux ]; }