Pre-commit: dont forget to commit flake.lock

This commit is contained in:
Rory&
2025-12-17 10:42:34 +01:00
parent 383ce014df
commit 63fc357176

View File

@@ -13,6 +13,7 @@ if [ -n "$(find "flake.lock" -mtime +7 -print)" ]; then
exit $?
else
nix flake update --extra-experimental-features 'nix-command flakes'
git add flake.lock
fi
else
echo "You do not appear to have nix installed. Skipping update of nix dependencies."