summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-17 10:42:34 +0100
committerRory& <root@rory.gay>2025-12-17 10:42:34 +0100
commit63fc3571766829953e48fb5c515545d0df9d69e1 (patch)
tree78e9885fcabe85d38058209f048cf89a3c5062e7
parentPre-commit: dont update nix flake if recently updated (diff)
downloadserver-ts-63fc3571766829953e48fb5c515545d0df9d69e1.tar.xz
Pre-commit: dont forget to commit flake.lock
-rwxr-xr-x.husky/pre-commit1
1 files changed, 1 insertions, 0 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit

index d91d5d93..8047c2c5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit
@@ -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."