nix: use libxcb directly

This commit is contained in:
Moraxyc 2026-02-09 22:03:45 +08:00 committed by outfoxxed
parent c030300191
commit 6bcd3d9bbf
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E

View file

@ -19,6 +19,7 @@
wayland-protocols,
wayland-scanner,
xorg,
libxcb ? xorg.libxcb,
libdrm,
libgbm ? null,
vulkan-headers,
@ -88,7 +89,7 @@
++ lib.optional (withWayland && lib.strings.compareVersions qt6.qtbase.version "6.10.0" == -1) qt6.qtwayland
++ lib.optionals withWayland [ wayland wayland-protocols ]
++ lib.optionals (withWayland && libgbm != null) [ libdrm libgbm vulkan-headers ]
++ lib.optional withX11 xorg.libxcb
++ lib.optional withX11 libxcb
++ lib.optional withPam pam
++ lib.optional withPipewire pipewire
++ lib.optionals withPolkit [ polkit glib ];