From 9fca99b8b28faa36713e969473aad799d52a115f Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 7 Apr 2026 21:31:59 +0200 Subject: [PATCH] git-annex: work around test suite race condition w/ tasty-1.5.4 --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 26f852cfa73e..0f856d32f183 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -722,6 +722,13 @@ with haskellLib; --replace-fail 'InstallDesktopFile $(PREFIX)/bin/git-annex' \ 'InstallDesktopFile git-annex' ''; + + # Work around race condition in test suite exposed by tasty-1.5.4 + # TODO(@sternenseemann): make testFlags arg usable with git-annex + preCheck = '' + ${drv.preCheck or ""} + appendToVar checkFlags -j1 + ''; })) ];