-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack 2.15.1 does not support GHC < 8.2.1 #6498
Labels
Comments
mpilgrem
added a commit
that referenced
this issue
Feb 26, 2024
mpilgrem
added a commit
that referenced
this issue
Feb 26, 2024
Re #6498 Better in-app information about using a downgraded Stack
Reopening, given #6509. |
@andreasabel, I expect to release Stack 2.15.3 tomorrow night. If you want to test it (unless you use GHCup to manage Stack versions): |
@andreasabel, Stack 2.15.3 is released. |
Thanks! (Sorry I didn't have time to give it a try first.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stack's support of Cabal < 2.2 (GHC < 8.4.1) is deprecated in Stack 2.15.1, but Stack 2.15.1 was intended to still support Cabal < 2.2, including GHC 8.0.x (Cabal-1.24.0).
However, a change was made in Stack 2.15.1 - ironically, to avoid a bug in GHC 8.0.1 and 8.0.2 - that made use of GHC's flags
-no-keep-hi-files
and-no-keep-o-files
. However, those flags were introduced with GHC 8.2.1. So, in practice, inadvertently, Stack 2.15.1 does not support GHC < 8.2.1 (Cabal < 2).I am not planning to fix this because the
master
branch version of Stack has now dropped support for Cabal < 2.2. A work-around may be to downgrade to Stack 2.13.1.The text was updated successfully, but these errors were encountered: