diff --git a/build.sh b/build.sh index d2a4322e2..5c0d95083 100755 --- a/build.sh +++ b/build.sh @@ -116,7 +116,7 @@ WITH_CACHIX(){ BUILD_IMAGE(){ mkdir -p build ARCH="$(_ARCH)" - BUILD_FILE="$(nix build ".#nixosConfigurations.$(_TARGET)@${ARCH//arm/aarch}-${OS}.config.formats.$(_FORMAT)" ${IMAGE_BUILD_FLAGS[@]})" + BUILD_FILE="$(nix build ".#nixosConfigurations.$(_TARGET)@${ARCH//arm/aarch}-${OS}.config.formats.$(_FORMAT)" "${IMAGE_BUILD_FLAGS[@]}")" cp "${BUILD_FILE}" "build/" }