DH_HASKELL_DEPENDS(1)

πŸ“¦ version 0.16.2, in ubuntu jammy

dh_haskell_depends πŸ’–

okay bestie, welcome to the Haskell devscripts documentation corner of the man pages, you're gonna eat this up ✨


✨ NAME ✨

dh_haskell_depends β€” she calculates Haskell dependencies on Cabalized libraries πŸ¦‹


🌸 SYNOPSIS 🌸

dh_haskell_depends [debhelper options] [-Xpackage] [--exclude=package]
[file ...]

πŸ’… DESCRIPTION πŸ’…

So. dh_haskell_depends is a debhelper program, and her whole job is helping you calculate dependencies for building Haskell libraries. That's it, that's the gig, and she's lowkey amazing at it. 🫢

She automates building libraries for the different supported Haskell systems in Debian, so you don't have to do it by hand like some kind of medieval peasant. No cap.

Now here's the part you actually need to remember, so pay attention: this script writes the debian/$package.substvars file, and inside it she drops the haskell:Depends, haskell:Recommends, haskell:Suggests and haskell:Extra-Depends variables. πŸ‘‘

So to actually use this package, you go into your Depends: field in debian/control and include ${haskell:Depends}, and then do the exact same thing for Recommends, Suggests and Extra-Depends. All four, bestie, don't skip any. ⭐


πŸ’€ BUGS πŸ’€

okay so not everything is slay in this house:

  • hugs and ghc are the only supported targets at the moment. That's the whole list. That's it.
  • Cabal does not yet support nhc98. Not yet, she said. 😭
fr fr, if you were hoping for more targets, this is giving "not yet" energy, not "never" energy.

πŸ¦‹ SEE ALSO πŸ¦‹


πŸŽ€ AUTHOR πŸŽ€

John Goerzen <jgoerzen@complete.org> πŸ’œ

Based on ideas in dh_python by Josselin Mouette <joss@debian.org>


πŸ’– and that's the whole page!! Haskell devscripts version 0.16.2, dated 2021-11-14. periodt. go build something iconic bestie πŸ‘‘βœ¨
πŸ“¦ where this page comes from