From 1352481e8eba83675cec9287b08c3c8d422b88e6 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 23 Mar 2023 17:52:18 +0200 Subject: [PATCH] wayland: use epoll-shim on unix platforms --- pkgs/development/libraries/wayland/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/wayland/default.nix b/pkgs/development/libraries/wayland/default.nix index 20b809560e8..0e01e571254 100644 --- a/pkgs/development/libraries/wayland/default.nix +++ b/pkgs/development/libraries/wayland/default.nix @@ -11,6 +11,7 @@ , withLibraries ? stdenv.isLinux , withTests ? stdenv.isLinux , libffi +, epoll-shim , withDocumentation ? withLibraries && stdenv.hostPlatform == stdenv.buildPlatform , graphviz-nox , doxygen @@ -82,6 +83,8 @@ stdenv.mkDerivation rec { libxml2 ] ++ lib.optionals withLibraries [ libffi + ] ++ lib.optionals (withLibraries && !stdenv.hostPlatform.isLinux) [ + epoll-shim ] ++ lib.optionals withDocumentation [ docbook_xsl docbook_xml_dtd_45