about summary refs log tree commit diff
path: root/pkgs/games/anki
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2021-09-21 09:31:19 +0200
committerAtemu <atemu.main@gmail.com>2021-09-21 09:31:19 +0200
commit09dfbdf96ee852769da668cc60562cace1a5ed7c (patch)
tree574758bf18e38624505c22a7c5539d2f52d9ce30 /pkgs/games/anki
parentc045c9b0e74e507f8e6844060564ed00ab12897d (diff)
Revert "anki-bin: force x11"
This reverts commit 847b317a95f13572146fbdc43067a5abd8dcc3a6.

It is no longer necessary to disable wayland support, anki does that by itself
nowadays and actually works really well when wayland is forced on via
$ANKI_WAYLAND despite upstream claiming it's still buggy.
Diffstat (limited to 'pkgs/games/anki')
-rw-r--r--pkgs/games/anki/bin.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix
index 88c8c04516978..3d1d22f293d5f 100644
--- a/pkgs/games/anki/bin.nix
+++ b/pkgs/games/anki/bin.nix
@@ -48,8 +48,6 @@ 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
   '';