From c5c3522cf9af5840338be99a843ca634a674a412 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 6 Apr 2026 15:54:08 +0200 Subject: [PATCH] haskellPackages.socket-unix: avoid race condition due to tasty-1.5.4 --- pkgs/development/haskell-modules/configuration-common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ccb135b8700b..86f9249ddf9e 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -393,6 +393,10 @@ with haskellLib; hash = "sha256-21qkRFnRF6nuM1BILps8o5A/QvaVQ6SkKxO0u2goXos="; }) ] super.socket; + # https://github.com/flip111/haskell-socket-unix/issues/1 + socket-unix = overrideCabal (drv: { + testFlags = drv.testFlags or [ ] ++ [ "-j1" ]; + }) super.socket-unix; # Expected failures are fixed as of GHC-9.10, # but the tests haven't been updated yet.