cashubtc / nuts

Cashu protocol specifications https://cashubtc.github.io/nuts/
MIT License
152 stars 52 forks source link

Add nix flake for prettier checks #185

Closed thesimplekid closed 3 weeks ago

thesimplekid commented 3 weeks ago

just for you @callebtc

callebtc commented 3 weeks ago

why do we need this unsolicited nix config flash again?

callebtc commented 3 weeks ago

visits spec repo, sees this:

image
thesimplekid commented 3 weeks ago

why do we need this unsolicited nix config flash again?

This would be useful to me as I don't have prettier installed globally to run the linting check, and it would be easier for me (and others on nix) to have a dev flake defined in the repo to drop into then creating a custom dev shell each time. However, I do realize this is likely an issue for only me so feel free to close.

Changing the CI only has the benefit since there is a flake defined it ensures what is run locally is run in CI, though in such a simply CI likely no real benefit.

prusnak commented 3 weeks ago

Closing then.