Add nix flake check to the update script so you don't break configurations by updating the lock
This commit is contained in:
parent
460baf9612
commit
b3e8f34761
|
@ -19,6 +19,7 @@ writeShellApplication
|
||||||
echo "Updating flake lock..."
|
echo "Updating flake lock..."
|
||||||
nix flake update
|
nix flake update
|
||||||
git add flake.lock
|
git add flake.lock
|
||||||
|
sudo nix flake check
|
||||||
git commit -m "update flake lock"
|
git commit -m "update flake lock"
|
||||||
git push
|
git push
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
Loading…
Reference in a new issue