Self-building Nix flake (decouple from penguin-tools)#5
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).distoutput = the /igloo_static fragment penguin stages (<arch>/console).tests.ymlbuilds.#diston this checkout;build.ymlcuts 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.