freckle / flakes

Miscellaneous Nix packages
MIT License
0 stars 0 forks source link

Add haskell-openapi3-code-generator #8

Closed chris-martin closed 11 months ago

chris-martin commented 11 months ago

This is an interesting package because the source repo provides a flake, so all we have to do here is point to it.

Refactors abound because this is the first non-nixpkgs flake input and so it got me rethinking whether flake.nix should really instantiate nixpkgs; instead I'm just taking the approach now where it just passes the inputs and system arg down to let the individual folders do whatever they want with them directly.

There's no check for this one yet. This program doesn't support a --version command. I'm not sure they even bother to version it anymore.

I'm not totally sure whether this is the program we should be using to generate content-client or not; are there any alternatives?

chris-martin commented 11 months ago

AJ's answer is we have no plan for how to do this.

why are you adding it now?

I guess the answer is I though it would be more difficult to get this package building, and so I wanted a place to store that work. This was before I noticed it had a flake. So I guess there's really no reason at the moment.

I did however learn from CI that the flake doesn't build on macos, so that's something.

chris-martin commented 11 months ago

Merging without the package because I still like the refactor.