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 πŸŽ€


πŸ‘‘ 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