Skip to content

nix: attempt to speed up builds#2716

Draft
r-burns wants to merge 6 commits into
masterfrom
nix
Draft

nix: attempt to speed up builds#2716
r-burns wants to merge 6 commits into
masterfrom
nix

Conversation

@r-burns

@r-burns r-burns commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

by reducing build-time closure size

Nix is a little slower than the other CI builds, and I'm guessing it's mostly because of having to download a bunch of individual dev tools instead of pulling a single docker image. That's pretty unavoidable, but I'm going to see how much of a difference reducing the download size makes. Specifically:

  • use stdenvNoCC - we don't need a native compiler, we're only compiling using our special gamecube toolchain
  • use python3Minimal - we don't need any fancy python bells and whistles, we just need to run configure.py
  • declutter compilers - we don't need Wii or ProDG compilers, or any GC tools other than the specific versions we've selected
  • disable objdiff-gui - not needed by the CLI-only nix sandbox build, and in a shell, I can use a separate objdiff-gui from my PATH

Altogether that should shave a couple hundred megs off the download.

by reducing build-time closure size

Nix is a little slower than the other CI builds, and I'm guessing it's
mostly because of having to download a bunch of individual dev tools
instead of pulling a single docker image. That's pretty unavoidable, but
I'm going to see how much of a difference reducing the download size
makes. Specifically:

* use stdenvNoCC - we don't need a native compiler, we're only compiling
  using our special gamecube toolchain
* use python3Minimal - we don't need any fancy python bells and
  whistles, we just need to run configure.py
* declutter compilers - we don't need Wii or ProDG compilers, or any
  GC tools other than the specific versions we've selected
* disable objdiff-gui - not needed by the CLI-only nix sandbox build,
  and in a shell, I can use a separate objdiff-gui from my PATH

Altogether that should shave a couple hundred megs off the download.
@decomp-dev

decomp-dev Bot commented Jun 16, 2026

Copy link
Copy Markdown

Report for GALE01 (2530c86 - 3869eef)

No changes

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.

2 participants