Merge pull request #222746 from wegank/wayland-epoll-shim

wayland: use epoll-shim on unix platforms
This commit is contained in:
Weijia Wang 2023-03-23 22:26:39 +02:00 committed by GitHub
commit 4919781ac6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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