xwayland: fix build on FreeBSD (#492525)

This commit is contained in:
Artemis Tosini
2026-02-20 20:17:31 +00:00
committed by GitHub
+11 -3
View File
@@ -1,6 +1,8 @@
{
dri-pkgconfig-stub,
egl-wayland,
epoll-shim,
evdev-proto,
bash,
libepoxy,
fetchurl,
@@ -98,7 +100,6 @@ stdenv.mkDerivation (finalAttrs: {
libxres
libxt
libdrm
libtirpc
libxcb
libxkbfile
libxshmfence
@@ -106,7 +107,6 @@ stdenv.mkDerivation (finalAttrs: {
mesa-gl-headers
openssl
pixman
systemd
wayland
wayland-protocols
xkbcomp
@@ -114,6 +114,14 @@ stdenv.mkDerivation (finalAttrs: {
xtrans
zlib
]
++ lib.optionals stdenv.hostPlatform.isLinux [
libtirpc
systemd
]
++ lib.optionals stdenv.hostPlatform.isFreeBSD [
epoll-shim
evdev-proto
]
++ lib.optionals withLibunwind [
libunwind
];
@@ -141,6 +149,6 @@ stdenv.mkDerivation (finalAttrs: {
emantor
k900
];
platforms = lib.platforms.linux;
platforms = lib.platforms.linux ++ lib.platforms.freebsd;
};
})