--- stack-2.7.5/src/Stack/Setup.hs~ 2022-03-05 08:13:02.000000000 +0800 +++ stack-2.7.5/src/Stack/Setup.hs 2022-03-21 17:34:33.423272288 +0800 @@ -468,7 +468,7 @@ logWarn "For more information, see: https://github.com/commercialhaskell/stack/issues/648" logWarn "" pure True - | ghcVersion >= mkVersion [9, 1] -> do + | ghcVersion >= mkVersion [9, 3] -> do logWarn $ "Stack has not been tested with GHC versions above 9.0, and using " <> fromString (versionString ghcVersion) <> @@ -495,7 +495,7 @@ logWarn "This invocation will most likely fail." logWarn "To fix this, either use an older version of Stack or a newer resolver" logWarn "Acceptable resolvers: lts-3.0/nightly-2015-05-05 or later" - | cabalVersion >= mkVersion [3, 5] -> + | cabalVersion >= mkVersion [3, 7] -> logWarn $ "Stack has not been tested with Cabal versions above 3.4, but version " <> fromString (versionString cabalVersion) <>