build: fix justfile env var
This commit is contained in:
parent
cda550c4ed
commit
1cd6e805ba
1 changed files with 2 additions and 2 deletions
4
justfile
4
justfile
|
@ -11,7 +11,7 @@ check:
|
||||||
if [[ -x "./result/sw/bin/darwin-rebuild" ]]; then
|
if [[ -x "./result/sw/bin/darwin-rebuild" ]]; then
|
||||||
./result/sw/bin/darwin-rebuild check --flake .
|
./result/sw/bin/darwin-rebuild check --flake .
|
||||||
else
|
else
|
||||||
nix build .\#darwinConfigurations.${HOST}.system
|
nix build .\#darwinConfigurations.`hostname`.system
|
||||||
./result/sw/bin/darwin-rebuild check --flake .
|
./result/sw/bin/darwin-rebuild check --flake .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ switch: secret-stage && secret-unstage
|
||||||
if [[ -x "./result/sw/bin/darwin-rebuild" ]]; then
|
if [[ -x "./result/sw/bin/darwin-rebuild" ]]; then
|
||||||
./result/sw/bin/darwin-rebuild switch --flake .
|
./result/sw/bin/darwin-rebuild switch --flake .
|
||||||
else
|
else
|
||||||
nix build .\#darwinConfigurations.${HOST}.system
|
nix build .\#darwinConfigurations.`hostname`.system
|
||||||
./result/sw/bin/darwin-rebuild switch --flake .
|
./result/sw/bin/darwin-rebuild switch --flake .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue