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 pushd ./update > /dev/null
echo "Updating flake lock..." echo "Updating flake lock..."
nix flake update nix flake update
git add flake.lock git stage ./flake.lock
sudo nix flake check
git commit -m "update flake lock" git commit -m "update flake lock"
sudo nix flake check
git push git push
popd > /dev/null popd > /dev/null
echo "Cleaning up repository in '/tmp/update'..." echo "Cleaning up repository in '/tmp/update'..."