Skip to content
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

Closed
mpilgrem opened this issue Feb 26, 2024 · 4 comments
Closed

Stack 2.15.1 does not support GHC < 8.2.1 #6498

mpilgrem opened this issue Feb 26, 2024 · 4 comments
Assignees

Comments

@mpilgrem
Copy link
Member

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.

@mpilgrem
Copy link
Member Author

mpilgrem commented Mar 5, 2024

Reopening, given #6509.

@mpilgrem
Copy link
Member Author

mpilgrem commented Mar 5, 2024

@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): stack upgrade --source-only --git --git-branch rc/v2.15.

@mpilgrem
Copy link
Member Author

mpilgrem commented Mar 7, 2024

@andreasabel, Stack 2.15.3 is released.

@andreasabel
Copy link

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
Projects
None yet
Development

No branches or pull requests

2 participants