Open
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.