build: fix justfile env var

This commit is contained in:
winston 2023-04-17 06:43:01 +02:00
parent cda550c4ed
commit 1cd6e805ba
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -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