add pre-commit check script

This commit is contained in:
Vinzenz Schroeter 2025-09-15 19:14:32 +02:00
parent 9cf6333f4b
commit 1735ec5594

6
hooks/pre-commit Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euxo pipefail
nix fmt
nix flake check --all-systems --show-trace