Change update to hopefully use the new flake with the check

This commit is contained in:
Lillian Violet 2024-03-27 17:32:38 +01:00
parent 70a717311a
commit f73d7b51e7

View file

@ -18,9 +18,9 @@ writeShellApplication
pushd ./update > /dev/null
echo "Updating flake lock..."
nix flake update
git add flake.lock
sudo nix flake check
git stage ./flake.lock
git commit -m "update flake lock"
sudo nix flake check
git push
popd > /dev/null
echo "Cleaning up repository in '/tmp/update'..."