@@ -475,9 +475,9 @@ warnUnsupportedCompiler ghcVersion = do
475
475
logWarn " For more information, see: https://github.com/commercialhaskell/stack/issues/648"
476
476
logWarn " "
477
477
pure True
478
- | ghcVersion >= mkVersion [9 , 1 ] -> do
478
+ | ghcVersion >= mkVersion [9 , 3 ] -> do
479
479
logWarn $
480
- " Stack has not been tested with GHC versions above 9.0 , and using " <>
480
+ " Stack has not been tested with GHC versions above 9.2 , and using " <>
481
481
fromString (versionString ghcVersion) <>
482
482
" , this may fail"
483
483
pure True
@@ -502,9 +502,9 @@ warnUnsupportedCompilerCabal cp didWarn = do
502
502
logWarn " This invocation will most likely fail."
503
503
logWarn " To fix this, either use an older version of Stack or a newer resolver"
504
504
logWarn " Acceptable resolvers: lts-3.0/nightly-2015-05-05 or later"
505
- | cabalVersion >= mkVersion [3 , 5 ] ->
505
+ | cabalVersion >= mkVersion [3 , 7 ] ->
506
506
logWarn $
507
- " Stack has not been tested with Cabal versions above 3.4 , but version " <>
507
+ " Stack has not been tested with Cabal versions above 3.6 , but version " <>
508
508
fromString (versionString cabalVersion) <>
509
509
" was found, this may fail"
510
510
| otherwise -> pure ()
@@ -610,7 +610,7 @@ ensureCompiler
610
610
ensureCompiler sopts getSetupInfo' = do
611
611
let wanted = soptsWantedCompiler sopts
612
612
wc <- either throwIO (pure . whichCompiler) $ wantedToActual wanted
613
-
613
+
614
614
hook <- ghcInstallHook
615
615
hookIsExecutable <- handleIO (\ _ -> pure False ) $ if osIsWindows
616
616
then doesFileExist hook -- can't really detect executable on windows, only file extension
@@ -645,7 +645,7 @@ ensureCompiler sopts getSetupInfo' = do
645
645
-- if the hook fails, we fall through to stacks sandboxed installation
646
646
hookGHC <- runGHCInstallHook sopts hook
647
647
maybe (pure Nothing ) checkCompiler hookGHC
648
- | otherwise -> return Nothing
648
+ | otherwise -> return Nothing
649
649
case mcp of
650
650
Nothing -> ensureSandboxedCompiler sopts getSetupInfo'
651
651
Just cp -> do
0 commit comments