SamirTalwar / smoke

Runs tests against anything, using command-line arguments, STDIN, STDOUT and STDERR.
MIT License
89 stars 10 forks source link

Pre commit hooks #83

Closed gilligan closed 1 year ago

gilligan commented 1 year ago

Add pre-commit-hooks.nix and enable nixpkgs-fmt, hlint and ormolu

SamirTalwar commented 1 year ago

Welp, just tested this on macOS (as opposed to Linux) and discovered my override for Ormolu fails, because it doesn't use the correct version of Haskell packages; there's no way to tell it to use haskell.packages.ghc925.ormolu instead. This means we end up building/downloading everything twice.

Gonna revert for now; sorry.