Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure pre-commit-hooks via shell.nix
This configures a git pre-commit hook as described in [1]. For now this only enables `stylish-haskell`. The way this works is that the code added to `shellHook` generates a `.pre-commit-config.yaml` and configures the hook with git. PS: If you are using some `direnv` based solution such as lorri you might want to add `eval $shellHook` to your `.envrc` file. [1] https://github.com/cachix/pre-commit-hooks.nix#getting-started
- Loading branch information