Cabal ignores c-sources when compiling modules with signatures
Open
Cabal: Backpack
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
Basically what it says above. If you try to build a package that exports signatures *and* has some C source to compile, the latter gets completely ignored. Interestingly, it doesn't even do file existence checks.
The simplest way to see this is to just add `c-sources: applejack` to the end of the str-sig package's cabal file. This gets ignored, and the package compiles normally.
I've been testing this against cabal 2.0 head, or `5a7da47c`.
Contributor guide
Assessment
This issue has not been assessed yet.