diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index e339b8c0fee1..bf82e7d90350 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} | \