---
name: "dh_haskell_shlibdeps"
section: "1"
platform: "linux"
package: "haskell-devscripts-minimal"
version: "0.16.34"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_haskell_shlibdeps"
---

# dh\_haskell\_shlibdeps(1)

calculates external dependencies for Haskell libraries dh\_haskell\_depends \[debhelper options\]

## NAME

dh\_haskell\_shlibdeps - calculates external dependencies for Haskell libraries

dh\_haskell\_depends \[debhelper options\]

## DESCRIPTION

dh\_haskell\_shlibdeps is a debhelper program that helps with calculating external dependencies for building Haskell libraries.

It automates building libraries for the different supported Haskell systems in Debian.

This script writes the debian/$package.substvars file, including in it the shlibs:Depends variable.  So, to use this package, include in the Depends: field in debian/control ${shlibs:Depends}.

## BUGS

hugs and ghc are the only supported targets at the moment.  Cabal does not yet support nhc98.

## SEE ALSO

[**debhelper**(7)](/debhelper/7.md)

## AUTHOR

Marco Túlio Gontijo e Silva \<marcot@debian.org\>

Based on ideas in mk-haskell-depends by Martin Sjögren \<sjogren@debian.org\>
