diff options
author | Gliczy <129636582+Gliczy@users.noreply.github.com> | 2024-01-23 15:18:26 +0100 |
---|---|---|
committer | Gliczy <129636582+Gliczy@users.noreply.github.com> | 2024-01-23 15:18:26 +0100 |
commit | 17783e08cd76e68051dbf4f838f93df4ebb590ff (patch) | |
tree | 25eb235a4fe8ec0cbd1ac0e7413502cd1462dae2 /pkgs/games | |
parent | ec1754f86b482f94671992852731b8eee34e5b6c (diff) | |
download | nixlib-17783e08cd76e68051dbf4f838f93df4ebb590ff.tar nixlib-17783e08cd76e68051dbf4f838f93df4ebb590ff.tar.gz nixlib-17783e08cd76e68051dbf4f838f93df4ebb590ff.tar.bz2 nixlib-17783e08cd76e68051dbf4f838f93df4ebb590ff.tar.lz nixlib-17783e08cd76e68051dbf4f838f93df4ebb590ff.tar.xz nixlib-17783e08cd76e68051dbf4f838f93df4ebb590ff.tar.zst nixlib-17783e08cd76e68051dbf4f838f93df4ebb590ff.zip |
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
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/doom-ports/slade/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/games/doom-ports/slade/default.nix b/pkgs/games/doom-ports/slade/default.nix index 42a8c2485174..9ab3d1f458d5 100644 --- a/pkgs/games/doom-ports/slade/default.nix +++ b/pkgs/games/doom-ports/slade/default.nix @@ -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/"; |