purescript-tsd-gen icon indicating copy to clipboard operation
purescript-tsd-gen copied to clipboard

Distribution via flake

Open zmrocze opened this issue 2 years ago • 0 comments

Hey, I wanted to provide your tool in the devshell for one project, therefore I packaged this application in a nix flake. So this is how it looks like: link. Very minimal flake, takes source as an input and builds with stack, with every one of the provided stack.yaml versions.

Would you possibly want to include the flake in your repo? Don't know really what would be the benefit, but users could run the program with nix run github:minoki/purescript-tsd-gen#purs-tsd-gen-0_14_9 (which would take ages to build the first time it's run).

If you're interested I can integrate the flake into this repo, though not sure if I can build for the older purescript versions. 0_14_9 was the one I needed and it builds, newer would likely too, but for example 0_13_8 doesn't with the current flake code.

zmrocze avatar Apr 18 '23 13:04 zmrocze