A flake app to upload to Hackage
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 240
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Normally I use cabal sdist followed by cabal upload --publish[^cr] in the nix shell to upload a new release to Hackage.
- Can this be automated in an universal fashion?
- If so, would it be useful for this module to provide a flake app to do it all?
Then, something like nix run .#hackage-publish -- <package-name> could be used to build a sdist and publish to Hackage automatically. Though it is not clear which exact interface (CLI arguments, for instance) we want to support.
[^cr]: @locallycompact pointed me to this command.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the documented cabal sdist and cabal upload --publish workflow in the issue, including how it runs in the Nix shell. Decide what universal automation and CLI interface are required for a nix run .#hackage-publish -- <package-name> app, then verify that the chosen workflow builds an sdist and publishes it to Hackage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system, cli, release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100