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:
|
check-git:
|
||||||
# output of the git status --porcelain must be empty
|
# git must be clean
|
||||||
test -z "$(git status --porcelain)"
|
test -z "$(git status --porcelain)"
|
||||||
|
|
||||||
|
|
||||||
[linux]
|
[linux]
|
||||||
build *args:
|
build *args: check-git
|
||||||
sudo nixos-rebuild build --flake . {{args}} |& nom
|
sudo nixos-rebuild build --flake . {{args}} |& nom
|
||||||
nvd diff /run/current-system ./result
|
nvd diff /run/current-system ./result
|
||||||
|
|
||||||
[linux]
|
[linux]
|
||||||
switch *args:
|
switch *args: check-git
|
||||||
sudo nixos-rebuild switch --flake . {{args}} |& nom
|
sudo nixos-rebuild switch --flake . {{args}} |& nom
|
||||||
|
|
||||||
update:
|
update:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue