From 1566daa69241ebdcb0edc2c7ed2cda792d781e39 Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Fri, 9 Jan 2026 23:24:03 +0100 Subject: [PATCH] zed-editor: enable cargo-nextest Upstream is using cargo-nextest and some tests are actually failing without it. --- pkgs/by-name/ze/zed-editor/package.nix | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index 5f883aee44de..f35669333952 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -225,23 +225,7 @@ rustPlatform.buildRustPackage (finalAttrs: { writableTmpDirAsHomeHook ]; - checkFlags = [ - # Flaky: unreliably fails on certain hosts (including Hydra) - "--skip=zed::tests::test_window_edit_state_restoring_enabled" - # The following tests are flaky on at least x86_64-linux and aarch64-darwin, - # where they sometimes fail with: "database table is locked: workspaces". - "--skip=zed::tests::test_open_file_in_many_spaces" - "--skip=zed::tests::test_open_non_existing_file" - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - # Flaky: unreliably fails on certain hosts (including Hydra) - "--skip=zed::open_listener::tests::test_open_workspace_with_directory" - "--skip=zed::open_listener::tests::test_open_workspace_with_nonexistent_files" - ] - ++ lib.optionals stdenv.hostPlatform.isLinux [ - # Fails on certain hosts (including Hydra) for unclear reason - "--skip=test_open_paths_action" - ]; + useNextest = true; installPhase = '' runHook preInstall