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

Summoner integration and more #15

Open
bolt12 opened this issue Jun 26, 2020 · 2 comments
Open

Summoner integration and more #15

bolt12 opened this issue Jun 26, 2020 · 2 comments

Comments

@bolt12
Copy link

bolt12 commented Jun 26, 2020

Hi, I stumbled upon this repo from reading https://discourse.nixos.org/t/nix-haskell-development-2020/6170 and it was very useful in my journey with nix.

I developed a personal version that includes summoner Haskell project scaffolding and lorri integration! Unfortunately it's not a fork but I'm opening this issue to share what I did since it can fit other persons necessities too.

The repo is here: https://github.com/bolt12/hs-nix-template

Please tell me if you think I stepped a line somewhere.

@utdemir
Copy link
Owner

utdemir commented Jun 27, 2020

Hey, I'm glad you found it useful!

That's great! I haven't thought of using summoner and cookiecutter together before, I think summoner is far more capable than cookiecutter; so probably just adding Nix support to summoner would be the simplest option in the long run. There is an issue [1] discussing that if you are interested.

By the way, I am also considering adding lorri support to this one (should be as easy as adding .envrc with contents eval "$(lorri direnv)").

I will keep this issue open, so people can discover your project.

[1] kowainik/summoner#149

@bolt12
Copy link
Author

bolt12 commented Jun 27, 2020

Awesome!

Yeah lorri integration is pretty easy and I also automated niv init so as to not worry with always having to manually change the repo to have the latest nixpkgs pin. Since niv is available in the dev environment, one can always use niv to update the pin to something else too.

I didn't thought of adding nix support to summoner! I'll look into it!

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