DH_HASKELL_PROVIDES(1)

πŸ“¦ version 0.16.2, in ubuntu jammy

πŸ’– 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