Closed andreasabel closed 4 months ago
Oh, this seems to be
I searched only the open issues...
Shouldn't closing this issue at least entail patch to Stack 2.15.1 so that it outright refuses to build with GHC 8.0 and lower?
Checking that it can handle the requested GHC is part of the "type checking" of a stack command so to say, and I would like a proper "type error" rather than a "crash at runtime". (After all we are strongly typed Haskellers...)
Given your experience, I'll see if I can release a Stack 2.15.3 that fixes this soon.
Closing as duplicate of #6498, which I have re-opened.
Stack 2.15.1 passes
-no-keep-hi-files
to GHC 8.0, crashing it: https://github.com/debug-ito/staversion/actions/runs/8159145946/job/22302754180?pr=11#step:7:477The flag
-no-keep-hi-files
has apparently only been added in GHC 8.2, according to the milestone in https://gitlab.haskell.org/ghc/ghc/-/issues/4114 .Unfortunately, the GHC docs have no "since" info for flags, and the release notes for 8.2 do not mention this flag either.