slade: set GDK_BACKEND to x11

Slade has major issues when running in native Wayland:
- The 3D view in the map editor is "spinning", making it unusable.
- The UI will freeze when trying to preview or edit an asset.
- Some crashes
This commit is contained in:
Gliczy 2024-01-23 15:18:26 +01:00
parent ec1754f86b
commit 17783e08cd

View File

@ -62,6 +62,12 @@ stdenv.mkDerivation rec {
env.NIX_CFLAGS_COMPILE = "-Wno-narrowing";
preFixup = ''
gappsWrapperArgs+=(
--prefix GDK_BACKEND : x11
)
'';
meta = with lib; {
description = "Doom editor";
homepage = "http://slade.mancubus.net/";