DH_HASKELL_PROVIDES_GHC(1)
β¨ NAME β¨
dh_haskell_provides_ghc β bestie, this one calculates Haskell virtual package names on Cabalized libraries π
(It lives in the Haskell devscripts manual, in case you were wondering where this little icon came from.)
πΈ SYNOPSIS πΈ
dh_haskell_provides_ghc [debhelper options] [-Xpackage]
[--exclude=package] [file ...]
π DESCRIPTION π
Okay so dh_haskell_provides_ghc is a debhelper program, and its whole job is doing the math on the correct virtual package to provide β so that dependencies can actually guarantee ABI stability. No cap. π«Ά
Here's the tea, bestie: say you've got a package that has an idea of package-version-longhashstring. What this script does is generate a virtual package like this:
- for the
-devpackage, it'slibghc-package-dev-version-longh - for the
profpackage, it'slibghc-package-prof-version-longh
Slay. π
And then β the main character move β this script writes the debian/$package.substvars file, and it drops haskell:Provides right in there. So to actually use this package, you gotta include this in the Provides: field over in debian/control:
${haskell:Provides}
Periodt. That's literally the whole vibe. β¨
π¦ SEE ALSO π¦
π AUTHOR π
Joachim Breitner <nomeata@debian.org> π
Also, based on ideas in dh_ocaml. Giving credit where credit is due, we love to see it. π
Okay bye bestie, go make some virtual packages, you absolute legend. π
This gorgeous little page came to you courtesy of Haskell devscripts 0.16.49ubuntu1, dated 2026-03-16. Mwah. ππΈ
π¦ 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