about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2024-04-21 18:56:41 -0500
committerGitHub <noreply@github.com>2024-04-21 18:56:41 -0500
commitdff96297be006d074b7cb9790370badda344be99 (patch)
tree61488561578dc02ed804d0efd5b53b105ac89e90 /pkgs/applications
parente543a3251a458be4a007ad8050fbf5a63776bb73 (diff)
parent9cb8feca8c38e306d89efa171e443f7b128ced13 (diff)
Merge pull request #305829 from al3xtjames/delta-tests
delta: run tests with 1 thread
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/version-management/delta/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/delta/default.nix b/pkgs/applications/version-management/delta/default.nix
index 3065d56721939..b343e473e3c8b 100644
--- a/pkgs/applications/version-management/delta/default.nix
+++ b/pkgs/applications/version-management/delta/default.nix
@@ -44,6 +44,11 @@ rustPlatform.buildRustPackage rec {
       etc/completion/completion.{bash,fish,zsh}
   '';
 
+  # test_env_parsing_with_pager_set_to_bat sets environment variables,
+  # which can be flaky with multiple threads:
+  # https://github.com/dandavison/delta/issues/1660
+  dontUseCargoParallelTests = true;
+
   checkFlags = lib.optionals stdenv.isDarwin [
     "--skip=test_diff_same_non_empty_file"
   ];