This commit is contained in:
Morten Olsen
2024-04-09 23:27:20 +02:00
parent 25e2db9264
commit b8fbdd67c2
5 changed files with 25 additions and 18 deletions

2
os.sh
View File

@@ -27,7 +27,7 @@ function buildvm() {
function upgrade() {
if git -C "$LOCATION" diff-index --quiet HEAD --; then
nix flake update --commit-lock-file "$LOCATION"
nix flake update --commit-lock-file --flake "$LOCATION"
apply $1
else
echo "Error: git working tree is dirty"