From 75e2024965d98acd9c63840a8c911b67cfba7989 Mon Sep 17 00:00:00 2001 From: osbm Date: Mon, 2 Dec 2024 10:12:53 +0300 Subject: [PATCH] add dependency --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index e0e90f7..e88dce9 100644 --- a/justfile +++ b/justfile @@ -3,17 +3,17 @@ _default: check-git: - # output of the git status --porcelain must be empty + # git must be clean test -z "$(git status --porcelain)" [linux] -build *args: +build *args: check-git sudo nixos-rebuild build --flake . {{args}} |& nom nvd diff /run/current-system ./result [linux] -switch *args: +switch *args: check-git sudo nixos-rebuild switch --flake . {{args}} |& nom update: