From 1f1c7775aa77a8d1591c87b5278d8be0f53a185b Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Thu, 31 Aug 2023 17:35:18 +0200 Subject: [PATCH] fix(rebuild): allow local building --- scripts/rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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