d388228
--- stack-2.9.3.1/src/Stack/Setup.hs~	2023-06-22 18:40:54.000000000 +0800
d388228
+++ stack-2.9.3.1/src/Stack/Setup.hs	2023-08-08 14:29:43.486062926 +0800
d388228
@@ -719,12 +719,12 @@
d388228
         logWarn "For more information, see: https://github.com/commercialhaskell/stack/issues/648"
d388228
         logWarn ""
d388228
         pure True
d388228
-    | ghcVersion >= mkVersion [9, 5] -> do
d388228
-        logWarn $
d388228
-          "Stack has not been tested with GHC versions above 9.4, and using " <>
d388228
-          fromString (versionString ghcVersion) <>
d388228
-          ", this may fail"
d388228
-        pure True
d388228
+    -- | ghcVersion >= mkVersion [9, 5] -> do
d388228
+    --     logWarn $
d388228
+    --       "Stack has not been tested with GHC versions above 9.4, and using " <>
d388228
+    --       fromString (versionString ghcVersion) <>
d388228
+    --       ", this may fail"
d388228
+    --     pure True
d388228
     | otherwise -> do
d388228
         logDebug "Asking for a supported GHC version"
d388228
         pure False
d388228
@@ -746,11 +746,11 @@
d388228
         logWarn "This invocation will most likely fail."
d388228
         logWarn "To fix this, either use an older version of Stack or a newer resolver"
d388228
         logWarn "Acceptable resolvers: lts-3.0/nightly-2015-05-05 or later"
d388228
-    | cabalVersion >= mkVersion [3, 9] ->
d388228
-        logWarn $
d388228
-          "Stack has not been tested with Cabal versions above 3.8, but version " <>
d388228
-          fromString (versionString cabalVersion) <>
d388228
-          " was found, this may fail"
d388228
+    -- | cabalVersion >= mkVersion [3, 9] ->
d388228
+    --     logWarn $
d388228
+    --       "Stack has not been tested with Cabal versions above 3.8, but version " <>
d388228
+    --       fromString (versionString cabalVersion) <>
d388228
+    --       " was found, this may fail"
d388228
     | otherwise -> pure ()
d388228
 
d388228
 -- | Ensure that the msys toolchain is installed if necessary and