added flake check to pre commit hook

This commit is contained in:
Leyla Becker 2024-10-03 16:39:02 +02:00
parent bba88fc3fe
commit d99da6cd44

View file

@ -2,6 +2,13 @@
git stash -q --keep-index
nix flake check
if [ $? -eq 0 ]; then
exit 1
fi
./lint.sh
RESULT=$?