Skip to content

Self-building Nix flake (decouple from penguin-tools)#5

Merged
lacraig2 merged 3 commits into
masterfrom
nixify-selfbuild-flake
Jul 10, 2026
Merged

Self-building Nix flake (decouple from penguin-tools)#5
lacraig2 merged 3 commits into
masterfrom
nixify-selfbuild-flake

Conversation

@lacraig2

@lacraig2 lacraig2 commented Jul 9, 2026

Copy link
Copy Markdown

console now builds itself via its own flake (nix build .#dist) across every guest arch, instead of borrowing penguin-tools' cross-build machinery through --override-input.

  • flake.nix + src/{archs.nix,mk-guest-c-tool.nix} (self-contained).
  • dist output = the /igloo_static fragment penguin stages (<arch>/console).
  • CI tests.yml builds .#dist on this checkout; build.yml cuts a version tag penguin pins.

penguin consumes this flake directly, so a console change no longer requires a penguin-tools re-release. Verified: penguin image built with this flake passes basic_target on x86_64/mipsel/aarch64.

lacraig2 added 3 commits July 8, 2026 21:26
Cross-builds console for every guest arch (.#dist) instead of borrowing
penguin-tools' machinery via --override-input. penguin consumes this flake
directly, so a console change no longer needs a penguin-tools re-release.
CI (tests.yml) builds .#dist on this checkout; build.yml cuts a version tag.
install-nix-action's default (Nix 2.22.1 + enable_kvm) fails on the
rehosting-arc self-hosted pods (no working udevd; narHash mismatch). Mirror
penguin's image build / rehosting-ci nix-setup.
@lacraig2 lacraig2 merged commit 82a5a46 into master Jul 10, 2026
1 of 2 checks passed
@lacraig2 lacraig2 deleted the nixify-selfbuild-flake branch July 10, 2026 14:39
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