explicitly set the flake both times
parent
75884cc8b7
commit
758d625dcf
|
@ -9,7 +9,7 @@ case "$(uname -s)" in
|
|||
Darwin)
|
||||
nix-shell "-p" nixUnstable --run "nix --experimental-features 'nix-command flakes' build .#darwinConfigurations.$(hostname -s).system"
|
||||
if test "$@" != "build"; then
|
||||
./result/sw/bin/darwin-rebuild --flake . "$@"
|
||||
./result/sw/bin/darwin-rebuild --flake ".#$(hostname -s)" "$@"
|
||||
fi
|
||||
;;
|
||||
|
||||
|
|
Reference in New Issue