DH_HASKELL_SHLIBDEPS(1)
π DH_HASKELL_SHLIBDEPS π
okay bestie, gather round, because this is the dh_haskell_shlibdeps manual page from the Haskell devscripts crew and she is serving utility β¨
β¨ NAME β¨
dh_haskell_shlibdeps β calculates external dependencies for Haskell libraries, fr fr π«Ά
dh_haskell_depends [debhelper options]
πΈ DESCRIPTION πΈ
so dh_haskell_shlibdeps is a debhelper program, and her whole job is helping you calculate the external dependencies you need when you're building Haskell libraries. it's giving "I do the boring math so you don't have to" π
she automates building libraries for all the different supported Haskell systems in Debian. yes, all of them, she's got range π
here's the part you actually need to remember, no cap: this script writes the debian/$package.substvars file, and tucked inside it is the shlibs:Depends variable. so if you wanna use this package, you gotta include ${shlibs:Depends} in the Depends: field of debian/control. that's the whole vibe. do it or she can't help you π
π BUGS π
okay so this is the part where we're honest. hugs and ghc are the only supported targets at the moment. that's it. that's the list. π
and also β Cabal does not yet support nhc98. nope. not yet. we don't make the rules, we just document them π
π SEE ALSO π
debhelper(7)β go read her too, she's iconic
π AUTHOR π
Marco TΓΊlio Gontijo e Silva <marcot@debian.org> wrote this one π«Ά
and it's based on ideas in mk-haskell-depends by Martin SjΓΆgren <sjogren@debian.org> β shoutout to the originator, we love a collab β¨
k bye bestie, this page came to you from Haskell devscripts 0.16.49ubuntu1, dated 2026-03-16 β go forth and set your ${shlibs:Depends} πΈππ¦
π¦ where this page comes from
- ubuntu resolute: haskell-devscripts-minimal 0.16.49ubuntu1 Β· GPL-2.0-only
- ubuntu stonking: haskell-devscripts-minimal 0.16.49ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms