Skip to content

Stack 2.15.1 does not support GHC < 8.2.1 #6498

@mpilgrem

Description

@mpilgrem

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions