cabal2nix icon indicating copy to clipboard operation
cabal2nix copied to clipboard

hackage-db: Fix the type of signatures in metadata

Open sternenseemann opened this issue 3 years ago • 1 comments
trafficstars

Previous PR/discussion: https://github.com/NixOS/hackage-db/pull/17


Signatures are actually complex objects. We could use Value here since it's unlikely that any consumers care about this, but it's cheap enough to just define a structure for the signature objects.

In practice this isn't an issue because it seems like this field is never populated in Hackage, but it can be populated if you build a custom Hackage it can happen.

Fixes #573.

cc @michaelpj (sorry for the repository moving mess)

sternenseemann avatar Oct 10 '22 12:10 sternenseemann

Thanks!

michaelpj avatar Oct 10 '22 12:10 michaelpj