add dependency
This commit is contained in:
parent
f396c65d5f
commit
75e2024965
1 changed files with 3 additions and 3 deletions
6
justfile
6
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue