haskell / haskell/cabal

Track external (pkgconfig) dependencies for custom setup script

Open
#3,654 2 comments 0 reactions 0 assignees View on GitHub
re: pkg-config type: user-question
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

The [`haskell-gi`-based packages](https://github.com/haskell-gi/haskell-gi) are heavily relying on a custom `Setup.hs` that generates the haskell bindings to `glib`-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 (through `pkgconfig-depends` within the `library` 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.