commercialhaskell / commercialhaskell/stack
Paths module fails prepositive-qualified-module
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
### General summary/comments (optional)
Upstream issue: https://github.com/haskell/cabal/issues/7599
My understanding is that Stack hardcodes the version of Cabal it uses to generate the `Paths_*.hs` file. If this is incorrect, and Stack uses the version of Cabal in the snapshot, please close this issue. If this is correct, then Stack will need to bump the version of Cabal after Cabal releases a new version with a valid `Paths_*.hs` module.
### Steps to reproduce
1. `package.yaml` with `ghc-options: -Werror -Weverything`
2. `stack build`
### Expected
Should work
### Actual
`Paths_*.hs` module fails `-Wprepositive-qualified-module`
Contributor guide
Assessment
This issue has not been assessed yet.