anki-bin: force x11

Co-authored-by: Vika <vika@fireburn.ru>
This commit is contained in:
Atemu 2020-12-24 06:50:19 +01:00
parent 0769fe2712
commit 847b317a95

View File

@ -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
'';