mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
anki-bin: force x11
Co-authored-by: Vika <vika@fireburn.ru>
This commit is contained in:
parent
0769fe2712
commit
847b317a95
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user