diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index 452dc77c468b..6abe8ea7c9e1 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -226,6 +226,13 @@ python3.pkgs.buildPythonApplication { # TODO: verify if this is still true (I can't, no mac) doCheck = !stdenv.isDarwin; + checkFlags = [ + # these two tests are flaky, see https://github.com/ankitects/anki/issues/3353 + # Also removed from anki-sync-server when removing this. + "--skip=media::check::test::unicode_normalization" + "--skip=scheduler::answering::test::state_application" + ]; + dontUseNinjaInstall = false; dontWrapQtApps = true; diff --git a/pkgs/games/anki/sync-server.nix b/pkgs/games/anki/sync-server.nix index 5900016c0b2b..8dc73e405afd 100644 --- a/pkgs/games/anki/sync-server.nix +++ b/pkgs/games/anki/sync-server.nix @@ -23,6 +23,13 @@ rustPlatform.buildRustPackage { "anki-sync-server" ]; + checkFlags = [ + # these two tests are flaky, see https://github.com/ankitects/anki/issues/3353 + # Also removed from anki when removing this. + "--skip=media::check::test::unicode_normalization" + "--skip=scheduler::answering::test::state_application" + ]; + nativeBuildInputs = [ protobuf pkg-config ]; buildInputs = [