Profpatsch / yarn2nix

Build and deploy node packages with nix from yarn.lock files.
MIT License
85 stars 21 forks source link

fix(cabal): check in generated cabal2nix #48

Closed Profpatsch closed 3 years ago

Profpatsch commented 3 years ago

hpack is still useful in that it provides a lot of dedup, not checking in the cabal file is just bad UX.

Also add a CI lint that check whether the file was generated and is up to date.

sternenseemann commented 3 years ago

I think you need to remove *.cabal from .gitignore or otherwise fix the skarnet check for not-to-check-in files. It comes back to haunt you I suppose :)