DH_HASKELL_PROVIDES(1)
π DH_HASKELL_PROVIDES π
okay bestie, so this is dh_haskell_provides, part of the Haskell devscripts documentation (that's the manual name, slay, we got it out of the way π
).
β¨ NAME β¨
dh_haskell_provides β calculates Haskell virtual package names on Cabalized libraries π¦
πΈ SYNOPSIS πΈ
dh_haskell_provides [debhelper options] [-Xpackage] [--exclude=package]
[file ...]
π DESCRIPTION π
so dh_haskell_provides is a debhelper program, and what it does is it calculates the correct virtual package to provide, so that dependencies can guarantee ABI stability. literally that's the whole job and it eats every time π
for a package with an idea of package-version-longhashstring, it generates a virtual package of the form libghc-package-dev-version-longh for the -dev package, and libghc-package-prof-version-longh for the prof package respectively. two flavours, both iconic π
this script writes the debian/$package.substvars file, including in it the haskell:Provides. so to use this package, include in the Provides: field in debian/control:
${haskell:Provides}
and that's it, that's the whole vibe π«Ά
π SEE ALSO π
π AUTHOR π
Joachim Breitner <nomeata@debian.org>
Based on ideas in dh_ocaml.
π not me actually reading the SEE ALSO section, that's growth fr fr
okay and the lil sign-off at the bottom says this is Haskell devscripts 0.16.2, dated 2021-11-14 π thanks for coming to my ted talk, mwah πβ¨
π¦ 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