[Haskell-cafe] Problem with publishing project/packages
dominik.schrempf at gmail.com
Tue Apr 28 10:57:20 UTC 2020
Thank you, I also didn't know that a package release is enough to be added to
Stackage. I was also not aware of the cabal commands creating the documentation
Nevertheless, I believe that we should improve on developer-friendliness. In the
end, we --- the developers and users --- create and maintain the libraries and
the ecosystem, and we depend on a healthy Haskell ecosystem.
Ben Franksen <ben.franksen at online.de> writes:
> Am 27.04.20 um 23:43 schrieb Henning Thielemann:
>>> 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
>> 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
> Thanks Henning, this was helpful for me as well. I just uploaded the
> docs for darcs-2.14.3 using your recipe.
> Note however that for newer cabal-install versions the option names have
> changed to --haddock-for-hackage and --haddock-hyperlink-source.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
More information about the Haskell-Cafe