From fdfe5b9458a6e579879e254a0490b68502926523 Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Sat, 18 Jan 2025 19:01:15 -0800 Subject: [PATCH] xwayland: fix building with llvm --- pkgs/servers/x11/xorg/xwayland.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/x11/xorg/xwayland.nix b/pkgs/servers/x11/xorg/xwayland.nix index eb46bb349a43..213251994f79 100644 --- a/pkgs/servers/x11/xorg/xwayland.nix +++ b/pkgs/servers/x11/xorg/xwayland.nix @@ -23,7 +23,8 @@ libXt, libdrm, libtirpc, - withLibunwind ? true, + # Disable withLibunwind as LLVM's libunwind will conflict and does not support the right symbols. + withLibunwind ? !(stdenv.hostPlatform.useLLVM or false), libunwind, libxcb, libxkbfile,