tart icon indicating copy to clipboard operation
tart copied to clipboard

Add nix support via flakes

Open srid opened this issue 2 years ago • 2 comments

With this PR, it becomes possible to both develop and use tart using Nix flakes and https://github.com/srid/haskell-flake. See https://srid.ca/haskell-template for specific workflows.

srid avatar Oct 05 '22 15:10 srid

Hi @srid, thanks for opening this. I'm a bit torn on merging it because I tend to only want to merge things that I know I will use and maintain; if I merged this, it would go unmaintained and then I'm concerned I'd get bug reports or requests to fix it, and I wouldn't be in a position to do that. Is there any way this functionality could be kept somewhere outside the repo and still be useful? If that were possible, I'd be happy to link to a third-party repo from the README about it, for example.

jtdaugherty avatar Oct 06 '22 19:10 jtdaugherty

Is there any way this functionality could be kept somewhere outside the repo and still be useful? If that were possible, I'd be happy to link to a third-party repo from the README about it, for example.

You could say something to the effect of:

In order to develop and/or install this project using Nix, you can add a `flake.nix` based on [haskell-flake](https://github.com/srid/haskell-flake).

Because that's what I essentially did in this PR.

srid avatar Oct 06 '22 20:10 srid

Closing in favour of #19

srid avatar Oct 20 '22 19:10 srid