diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index 87367b4c46f8a..b681d1a403596 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -226,6 +226,12 @@ python3.pkgs.buildPythonApplication { # TODO: verify if this is still true (I can't, no mac) doCheck = !stdenv.hostPlatform.isDarwin; + checkFlags = [ + # this test is flaky, see https://github.com/ankitects/anki/issues/3619 + # also remove from anki-sync-server when removing this + "--skip=deckconfig::update::test::should_keep_at_least_one_remaining_relearning_step" + ]; + dontUseNinjaInstall = false; dontWrapQtApps = true; diff --git a/pkgs/games/anki/sync-server.nix b/pkgs/games/anki/sync-server.nix index 0c5b7f47943cd..8f924276a1133 100644 --- a/pkgs/games/anki/sync-server.nix +++ b/pkgs/games/anki/sync-server.nix @@ -18,6 +18,12 @@ rustPlatform.buildRustPackage { "anki-sync-server" ]; + checkFlags = [ + # this test is flaky, see https://github.com/ankitects/anki/issues/3619 + # also remove from anki when removing this + "--skip=deckconfig::update::test::should_keep_at_least_one_remaining_relearning_step" + ]; + nativeBuildInputs = [ pkg-config ];