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

Optionally add relude and common GHC extensions #19

Open
utdemir opened this issue Apr 1, 2021 · 4 comments
Open

Optionally add relude and common GHC extensions #19

utdemir opened this issue Apr 1, 2021 · 4 comments

Comments

@utdemir
Copy link
Owner

utdemir commented Apr 1, 2021

relude is my go-to custom prelude, and I currently spend time adding the required mixins' section. Same with some GHC extensions.

I'd enable them unconditionally if this project were only for me, but it'd probably make other users happier if we prompt at the beginning.

@aycanirican
Copy link
Collaborator

Do we have any integration tests to ensure generated project is buildable?

@utdemir
Copy link
Owner Author

utdemir commented Apr 2, 2021

We do have a ci.nix which generates & builds the project with the default options; which is run by GitHub Actions. If we end up having more options, we should have more test cases for each combination of the options.

@chiroptical
Copy link
Collaborator

Putting this here for myself: https://hackage.haskell.org/package/relude-1.0.0.1#get-started

@utdemir
Copy link
Owner Author

utdemir commented Oct 15, 2021

Also, for reference, this is a hs-nix-template generated project that I modified to use relude and enabled some extensions: https://github.com/utdemir/nix-tree/blob/main/nix-tree.cabal

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

3 participants