New Hackage Server Features

Bumping this thread to announce a maintenance update of hackage-server. The only major user-facing difference is that it is built against Cabal 3.12, which allows upload of packages with new features only introduced in Cabal files in that release.

6 Likes

Bumping this thread to announce a new hackage deployment. Very little in the way of user-facing features this release (tightening some security largely), but it does support a newer version of cabal files (3.16) and improve display of internal libraries.

We’ve also upgraded to use version 0.7 of the tar library, which we hope can help with the periodic 503 errors described here: 503 errors on Hackage - #6 by hsyl20

8 Likes

Btw, I recently noticed that hackage stopped building packages that require libpq. The result is that any such packages and packages that depend on them don’t get documentation and you have to upload it yourself, which is annoying.

I’m not sure where is the place to report it though.

1 Like

See also: postgresql-libpq-configure-0.11-... failed during the configure step · Issue #10 · haskell-infra/hackage-doc-builder-config · GitHub

You can report it at GitHub - haskell-infra/hackage-doc-builder-config: Configuration and documentation for the Hackage documentation builder

1 Like

In fact, we’ve moved over to nix now (since the last ticket) and a PR can be made to add the missing lib directly to hackage-doc-builder-config/build-depends.nix at master · haskell-infra/hackage-doc-builder-config · GitHub

It looks like we have postgresql.lib there but the build remains failing on not having a pg_config executable, which probably requires a different package.

1 Like

Seems like we’re not the first: I cannot for the life of me find the package that has `pg_config` - #2 by waffle8946 - Help - NixOS Discourse

What seems to be missing is postgresql.pg_config. We need postgresql instead of just postgresql.lib to get the executable outputs. I opened a PR.

4 Likes