DH_HASKELL_DEPENDS(1)
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:
hugsandghcare 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 version0.16.2, dated2021-11-14. periodt. go build something iconic bestie πβ¨
π¦ where this page comes from
- ubuntu jammy: haskell-devscripts-minimal 0.16.2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms