Skip to content

Build host-spawn from source instead of downloading binaries - #7

Merged
francoism90 merged 1 commit into
masterfrom
host-spawn-build-from-source
Sep 10, 2026
Merged

francoism90 merged 1 commit into
masterfrom
host-spawn-build-from-source

Conversation

@francoism90

Copy link
Copy Markdown
Owner

Replaces the per-arch host-spawn binary downloads (pulled straight from GitHub release assets) with a source build via the golang Sdk extension, compiling the same v1.6.2 tag with its dependencies vendored and pinned by commit. This avoids shipping prebuilt binary blobs and matches Flathub's general preference for building from source.

Ported from flathub/com.vscodium.codium's host-spawn module, which already does this for the same host-spawn version - same pinned dependency commits, reused verbatim.

The Flatter CI workflow now also pre-installs the golang Sdk extension alongside the Electron BaseApp, since Flatter's flatpak-builder invocation doesn't auto-install manifest dependencies the way a local --install-deps-from=flathub build does.

Replaces the per-arch host-spawn binary downloads (pulled straight from
GitHub release assets) with a source build via the golang Sdk extension,
compiling the same v1.6.2 tag with its dependencies vendored and pinned
by commit. This avoids shipping prebuilt binary blobs and matches
Flathub's general preference for building from source.

Ported from flathub/com.vscodium.codium's host-spawn module, which
already does this for the same host-spawn version - same pinned
dependency commits, reused verbatim.

The Flatter CI workflow now also pre-installs the golang Sdk extension
alongside the Electron BaseApp, since Flatter's flatpak-builder
invocation doesn't auto-install manifest dependencies the way a local
`--install-deps-from=flathub` build does.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@francoism90
francoism90 merged commit 8489d73 into master Sep 10, 2026
1 of 2 checks passed
@francoism90
francoism90 deleted the host-spawn-build-from-source branch September 10, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant