cabal new-build doesn't isolate include-dirs
Open
cabal-install: v2-build system
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
`new-build` is propagating `include-dirs` in a library component when it shouldn't, meaning that it's passing `-I`s it shouldn't to `ghc` when building the executable component.
This is why #5427 appeared to be an install problem, when it was really due to an incorrectly written (but previously harmlessly so) `.cabal` file.
Contributor guide
Assessment
This issue has not been assessed yet.