swt23w23/shell.nix
Simon Bruder adb486bbb9
Add pre-commit hooks
This currently checks commit messages and editorconfig.
2023-11-14 19:22:27 +01:00

18 lines
271 B
Nix

{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell {
buildInputs = [
asciidoctor
editorconfig-checker
gitlint
jdk17
plantuml
pre-commit
watchexec # enables automatic compiling on change
];
shellHook = ''
pre-commit install
'';
}