Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish on Hackage #39

Open
turion opened this issue Jun 25, 2024 · 4 comments
Open

Publish on Hackage #39

turion opened this issue Jun 25, 2024 · 4 comments

Comments

@turion
Copy link
Contributor

turion commented Jun 25, 2024

It would be great if this package was published on hackage. Then it would be automatically be picked up and packaged in nixpkgs.

@Kleidukos
Copy link
Owner

Ah, I knew this day would come.

@Kleidukos
Copy link
Owner

Do you personally need this?

@turion
Copy link
Contributor Author

turion commented Jun 25, 2024

It would be useful to have this in order to debug locally. In my case, I mixed up the order of source-repository and tested-with: in my cabal file, and get-tested thus just output an empty list. It would have taken a long time to debug this just by pushing new cabal files to github and see whether it worked now.

Having it published on Hackage would also package it in nixpkgs which means that I can just add the get-tested executable to my tool stack and use it directly. If that's a big nuisance or too high maintenance burden, I can of course work around it by copying the wget stance from github actions, and install it like that. (It would be nice maybe if this installation method was mentioned in the docs somewhere.)

@Kleidukos
Copy link
Owner

I mixed up the order of source-repository and tested-with:

Ah indeed, that's a cabal parse error that doesn't bubble up properly.

The coming two weeks are going to be hell for me but I'll handle this after. Thanks for bringing this up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants