Open k0ral opened 8 years ago
Have you tried using build-type: Configure
and generating a .buildinfo file?
I don't think that helps; Configure runs a configure script which is still just a build-time dependency checker. So the answer is, no, we're pretty bad at tracking runtime deps.
The
haskell-gi
-based packages are heavily relying on a customSetup.hs
that generates the haskell bindings toglib
-based C libraries. Consequently, this process depends on the C library at setup-time, but it seems cabal only makes it possible to express a build-time dependency (throughpkgconfig-depends
within thelibrary
section). In systems like NixOS, this distinction matters a lot. Are you planning on supporting this use case in the future ? Otherwise, how would you suggest to overcome this untracked dependency issue ?Thank you.