From 847b317a95f13572146fbdc43067a5abd8dcc3a6 Mon Sep 17 00:00:00 2001 From: Atemu Date: Thu, 24 Dec 2020 06:50:19 +0100 Subject: [PATCH] anki-bin: force x11 Co-authored-by: Vika --- pkgs/games/anki/bin.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix index 043a9e040db..1a642c90d2e 100644 --- a/pkgs/games/anki/bin.nix +++ b/pkgs/games/anki/bin.nix @@ -38,6 +38,8 @@ if stdenv.isLinux then buildFHSUserEnv (appimageTools.defaultFhsEnvArgs // { name = "anki"; runScript = writeShellScript "anki-wrapper.sh" '' + # Wayland support is broken, disable via ENV variable + export QT_QPA_PLATFORM=xcb exec ${unpacked}/bin/anki '';