carta
dh_haskell_provides_ghc(1)

dh_haskell_provides_ghc1

Calculates haskell virtual package names on cabalized libraries

Usage

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

Overview

dh_haskell_provides_ghc is a debhelper program that calculates the correct virtual package to provide, so that dependencies can guarantee ABI stability.

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.

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}.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)

Author

Joachim Breitner <[email protected]>

Based on ideas in dh_ocaml.

From haskell-devscripts-minimal 0.16.34 in Debian 13 (Trixie). Parsed by carta from the page's man source.