Bug#966069: analysis and partial patch

Ilias Tsitsimpis iliastsi at debian.org
Fri Aug 7 17:25:31 BST 2020


Control: tags -1 + pending

Hey Joey,

On Wed, Aug 05, 2020 at 05:15PM, Joey Hess wrote:
> ghc-pkg dump output has changed slightly, it now indents values with spaces
> to make then line up or something

Thanks for digging into this.

> This patch partially fixed it for me, but does not deal with the line wrapping,
> which would take more of a rfc-822 type parser than this.

I followed a different approach and used `ghc-pkg field` to parse the
package database [1]. It seems to be working for me, but would be great
if you could test it as well.

[1] https://salsa.debian.org/haskell-team/DHG_packages/-/commit/24ecab15f29b87d6a0293e9cbb9a4305ab6e45b1

Thanks,

-- 
Ilias



More information about the Pkg-haskell-maintainers mailing list