diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh index 5a65736..5bac2a1 100644 --- a/scripts/rebuild.sh +++ b/scripts/rebuild.sh @@ -84,7 +84,7 @@ else ARGS+=("--flake" "." "--show-trace") fi -if [ -n "$BUILD_HOST" ]; then +if [ -n "$BUILD_HOST" ] && [ "$BUILD_HOST" != "local" ]; then ARGS+=("--build-host" "root@$BUILD_HOST") printf "Building on root@%s\n" "$BUILD_HOST" fi