[Haskell-cafe] Problem with publishing project/packages

Henning Thielemann lemming at henning-thielemann.de
Mon Apr 27 21:43:16 UTC 2020


On Mon, 27 Apr 2020, Dominik Schrempf wrote:

> So my next thought is: "Let's just put it on Stackage, because the best 
> days of Hackage seem to be over...". However, I cannot do that, because 
> my project needs to compile on Hackage in order to be put on Stackage...

You only need to _release_ your package on Hackage, it is not required 
that the Hackage server can build it. Stackage builds packages on its own.

If Hackage fails to build your documentation, you can create it yourself 
and upload it manually:

$ cabal haddock --for-hackage --hyperlink-source
$ cabal upload --documentation --publish dist/pkg-0.1-docs.tar.gz


More information about the Haskell-Cafe mailing list