about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-04-17 00:00:28 +0300
committerGitHub <noreply@github.com>2023-04-17 00:00:28 +0300
commit1eea8d509f69563b798e997f4848cf64e0db84bd (patch)
tree62b45ff087514d1951b3095fe7a40ad8ebb5b9db /pkgs/games
parentddf119973e2ba1e4358fa3d2d3decf615d80dae3 (diff)
parentf9910b39bd3115a72630b1dd102f536faac324fc (diff)
Merge pull request #226426 from sbruder/anki-wayland
anki: allow using wayland on linux
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/anki/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix
index e339b8c0fee1a..bf82e7d903503 100644
--- a/pkgs/games/anki/default.nix
+++ b/pkgs/games/anki/default.nix
@@ -143,7 +143,7 @@ python3.pkgs.buildPythonApplication {
 
   buildInputs = [
     qt6.qtbase
-  ];
+  ] ++ lib.optional stdenv.isLinux qt6.qtwayland;
   propagatedBuildInputs = with python3.pkgs; [
     # This rather long list came from running:
     #    grep --no-filename -oE "^[^ =]*" python/{requirements.base.txt,requirements.bundle.txt,requirements.qt6_4.txt} | \