From 0b1ffdb47af4c870febdc3f79c33c909e294f6de Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 28 Aug 2024 18:12:42 -0400 Subject: [PATCH] kitty: re-enable some tests These tests were disabled because of failures on nix-darwin systems due to zshenv producing spurious output in some scenarios: https://github.com/LnL7/nix-darwin/pull/1051 The linked bug is fixed in nix-darwin, and it should be now possible to run the tests on a fresh nix-darwin system. Related: #312692 --- .../terminal-emulators/kitty/default.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index cf5614d399a5..725b4dca03a6 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -172,20 +172,9 @@ buildPythonApplication rec { # skip failing tests due to darwin sandbox preCheck = lib.optionalString stdenv.hostPlatform.isDarwin '' + # can be re-enabled with the next kitty release, see https://github.com/kovidgoyal/kitty/pull/7939 substituteInPlace kitty_tests/file_transmission.py \ - --replace test_file_get dont_test_file_get \ - --replace test_path_mapping_receive dont_test_path_mapping_receive \ --replace test_transfer_send dont_test_transfer_send - substituteInPlace kitty_tests/shell_integration.py \ - --replace test_fish_integration dont_test_fish_integration - substituteInPlace kitty_tests/shell_integration.py \ - --replace test_bash_integration dont_test_bash_integration - substituteInPlace kitty_tests/open_actions.py \ - --replace test_parsing_of_open_actions dont_test_parsing_of_open_actions - substituteInPlace kitty_tests/ssh.py \ - --replace test_ssh_connection_data dont_test_ssh_connection_data - substituteInPlace kitty_tests/fonts.py \ - --replace 'class Rendering(BaseTest)' 'class Rendering' # theme collection test starts an http server rm tools/themes/collection_test.go # passwd_test tries to exec /usr/bin/dscl