We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1cf1b commit f8b2afcCopy full SHA for f8b2afc
cabal-install/tests/IntegrationTests2.hs
@@ -1438,9 +1438,11 @@ testSetupScriptStyles config reportSubCase = do
1438
1439
let isOSX (Platform _ OSX) = True
1440
isOSX _ = False
1441
+ compilerVer = compilerVersion (pkgConfigCompiler sharedConfig)
1442
-- Skip the Custom tests when the shipped Cabal library is buggy
- unless (isOSX (pkgConfigPlatform sharedConfig)
1443
- && compilerVersion (pkgConfigCompiler sharedConfig) < mkVersion [7,10]) $ do
+ unless ((isOSX (pkgConfigPlatform sharedConfig) && (compilerVer < mkVersion [7,10]))
1444
+ -- 9.10 ships Cabal 3.12.0.0 affected by #9940
1445
+ || (mkVersion [9,10] <= compilerVer && compilerVer < mkVersion [9,11])) $ do
1446
1447
(plan1, res1) <- executePlan plan0
1448
pkg1 <- expectPackageInstalled plan1 res1 pkgidA
0 commit comments