Bug#1125188: haskell-devscripts: please drop explicit dependency on to-be-removed "cdbs"

Alexandre Detiste alexandre.detiste at gmail.com
Sat Jan 10 13:06:09 GMT 2026


Package: haskell-devscripts
Version: 0.16.44
Severity: important

Hi dear Maintainers,

All Haskell package that still requires CDBS to build as of today
will have an explicit dependency on cdbs, so the dependency here
can be removed (from debian/control). This is important to be able
to remove CDBS from the "key packages set".


Moreover this Lintian override becomes extraneous.

  debian/haskell-devscripts-minimal.lintian-overrides:binary-package-depends-on-toolchain-package *cdbs*



grep also tells me that README should
be updated to document the current practices:


> HOW TO PACKAGE A HASKELL LIBRARY
> --------------------------------
>
> Start from a basic debian/ directory.  Add entries to Build-Depends for
> haskell-devscripts, cdbs and the compilers for any binaries you will build.
>
> In the clause in control for each binary package, make sure to add
> ${haskell:Depends} to the Depends: line, ${haskell:Recommends} to the
> Recommends line, and ${haskell:Suggests} to the Suggests line.
>
> In rules, include /usr/share/cdbs/1/rules/debhelper.mk and
> v/usr/share/cdbs/1/class/hlibrary.mk.
>
> That's it.  haskell-devscripts does the rest.


Greetings and thank you for everything

"hlibrary.mk" can linguer for a while more.

debian/dirs looks useless with current debhelper

Alexandre



More information about the Pkg-haskell-maintainers mailing list