File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1438,9 +1438,11 @@ testSetupScriptStyles config reportSubCase = do
14381438
14391439 let isOSX (Platform _ OSX ) = True
14401440 isOSX _ = False
1441+ compilerVer = compilerVersion (pkgConfigCompiler sharedConfig)
14411442 -- Skip the Custom tests when the shipped Cabal library is buggy
1442- unless (isOSX (pkgConfigPlatform sharedConfig)
1443- && compilerVersion (pkgConfigCompiler sharedConfig) < mkVersion [7 ,10 ]) $ do
1443+ 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
14441446
14451447 (plan1, res1) <- executePlan plan0
14461448 pkg1 <- expectPackageInstalled plan1 res1 pkgidA
You can’t perform that action at this time.
0 commit comments