haskell.packages.*.semaphore-compat: only test on GHC == 9.6.*

semaphore-compat only supports unix >= 2.8.1.0 which is bundled with
GHC >= 9.6. Packages for GHC < 9.6 that depend on semaphore-compat will
need to overrideScope unix, probably. My current hope is that we can
just avoid this whole issue or such packages only conditionally need
semaphore-compat for ghc >= 9.6.
This commit is contained in:
sternenseemann
2025-02-06 14:39:09 +01:00
parent b181775d39
commit 693cc5ffe4
+2 -6
View File
@@ -604,12 +604,8 @@ let
hashable = released;
primitive = released;
semaphore-compat = [
# Compiler < 9.8 don't have the semaphore-compat core package
compilerNames.ghc865Binary
compilerNames.ghc8107
compilerNames.ghc902
compilerNames.ghc928
compilerNames.ghc948
# Compiler < 9.8 don't have the semaphore-compat core package, but
# requires unix >= 2.8.1.0 which implies GHC >= 9.6 for us.
compilerNames.ghc966
];
weeder = lib.subtractLists [