commercialhaskell / commercialhaskell/stack

Paths module fails prepositive-qualified-module

Open
#5,614 6 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.