haskell-platform/stack-2.1-relax_version_warnings.patch

29 lines
1.3 KiB
Diff
Raw Normal View History

--- stack-2.1.3.1/src/Stack/Setup.hs~ 2019-07-14 12:22:56.000000000 +0800
+++ stack-2.1.3.1/src/Stack/Setup.hs 2020-04-12 11:56:39.453839733 +0800
@@ -482,9 +482,9 @@
logWarn "For more information, see: https://github.com/commercialhaskell/stack/issues/648"
logWarn ""
pure True
- | ghcVersion >= mkVersion [8, 7] -> do
+ | ghcVersion >= mkVersion [8, 9] -> do
logWarn $
- "Stack has not been tested with GHC versions above 8.6, and using " <>
+ "Stack has not been tested with GHC versions above 8.8, and using " <>
fromString (versionString ghcVersion) <>
", this may fail"
pure True
@@ -509,9 +509,9 @@
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 [2, 5] ->
+ | cabalVersion >= mkVersion [3, 1] ->
logWarn $
- "Stack has not been tested with Cabal versions above 2.4, but version " <>
+ "Stack has not been tested with Cabal versions above 3.0, but version " <>
fromString (versionString cabalVersion) <>
" was found, this may fail"
| otherwise -> pure ()
Diff finished. Sun Apr 12 11:56:54 2020