fix(rebuild): allow local building

This commit is contained in:
Malte Tammena 2023-08-31 17:35:18 +02:00
parent 9420891300
commit 1f1c7775aa

View file

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