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..."
|
||||
nix flake update
|
||||
git add flake.lock
|
||||
sudo nix flake check
|
||||
git commit -m "update flake lock"
|
||||
git push
|
||||
popd > /dev/null
|
||||
|
|
Loading…
Reference in a new issue