diff --git a/srcpkgs/Rocket.Chat-Desktop/template b/srcpkgs/Rocket.Chat-Desktop/template index 6b9879918fb..59d7363dac2 100644 --- a/srcpkgs/Rocket.Chat-Desktop/template +++ b/srcpkgs/Rocket.Chat-Desktop/template @@ -16,15 +16,16 @@ checksum=c8c4f4d29ffe7cee825e7967bdabe1abdadc7153f169c36ee971b491a29628b1 export USE_SYSTEM_APP_BUILDER=true -case "$XBPS_TARGET_MACHINE" in - i686*) broken="https://build.voidlinux.org/builders/i686_builder/builds/27897/steps/shell_3/logs/stdio" -esac - do_configure() { # we can't make electron skip binary download as that fails in do_build # so instead, force a bogus architecture so it downloads its binary # artifact, it will use the system one later anyway - npm_config_arch=x64 \ + # but this appears to fail on i686, so don't override there + local carch=x64 + case "$XBPS_TARGET_MACHINE" in + i686*) carch=ia32 ;; + esac + npm_config_arch=$carch \ yarn upgrade electron@"$(