Patch cabal to pass --static flags to pkg-config
Open
enhancement
- Dominant language
- Nix
- Stars
- 401
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
`pkg-config` takes a `--static` flag to output `.a` files for `--libs`. We currently add those manually in `static-haskell-nix`.
Instead, we should teach cabal to pass it, given that `.cabal` files can specify pkg-config dependencies.
Hopefully we can then get rid of pkg-config related overrides in `static-haskell-nix` and fundamentally fix issues like #57, so that Haskell libraries "remember" which static system libraries they need.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.