On Sun, Apr 5, 2009 at 3:40 PM, Trent W. Buck <trentb...@gmail.com> wrote:

> Kari Pahula <k...@debian.org> writes:
>
> > Though now I'm thinking that it's not generally a good idea to expect
> > an one to one mapping from cabal names to libghc6-*-dev names anyway,
> > but better to look at what files you are using and what package they
> > belong to.
>
> cabal-debian could do this using apt-file(1), I guess.
>

Currently cabal-debian uses the debOfFile function in
Distribution.Package.Debian, which looks at /var/lib/dpkg/info/*.list to
compute which package a file is in.

Reply via email to