---
name: "dh_haskell_provides"
section: "1"
platform: "linux"
package: "haskell-devscripts-minimal"
version: "0.16.0"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_haskell_provides"
---

# dh\_haskell\_provides(1)

calculates Haskell virtual package names on Cabalized libraries

## NAME

dh\_haskell\_provides - calculates Haskell virtual package names on Cabalized libraries

## SYNOPSIS

**dh\_haskell\_provides** \[*debhelper options*\] \[**-X***package*\] \[**--exclude=***package*\] \[*file* ...\]

## DESCRIPTION

dh\_haskell\_provides 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}.

## SEE ALSO

[**dh\_haskell\_depends**(1)](/dh_haskell_depends/1.md) [**dh\_haskell\_shlibdeps**(1)](/dh_haskell_shlibdeps/1.md) [**debhelper**(7)](/debhelper/7.md)

## AUTHOR

Joachim Breitner \<nomeata@debian.org\>

Based on ideas in dh\_ocaml.
