explicitly set the flake both times

main
Brian Hicks 2021-10-26 16:21:59 -05:00
parent 75884cc8b7
commit 758d625dcf
1 changed files with 1 additions and 1 deletions

View File

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