Add nix flake check to the update script so you don't break configurations by updating the lock

This commit is contained in:
Lillian Violet 2024-03-14 14:20:43 +01:00
parent 460baf9612
commit b3e8f34761

View file

@ -19,6 +19,7 @@ writeShellApplication
echo "Updating flake lock..."
nix flake update
git add flake.lock
sudo nix flake check
git commit -m "update flake lock"
git push
popd > /dev/null