Nix: Add OpenBIOS to the build and refactor derivation#1923
Conversation
WalkthroughThe changes update the Nix flake configuration and the Changes
Sequence Diagram(s)sequenceDiagram
participant S as System
participant FN as Flake.nix
participant PKG as Package Manager
S->>FN: Trigger build process
FN->>PKG: Import legacy packages for ${system}
FN->>PKG: Import cross packages (mipsel-none-elf)
FN->>PKG: Set default package to pcsx-redux
FN->>PKG: Update GitHub Actions to remove defaults
sequenceDiagram
participant B as Build Process
participant PX as pcsx-redux.nix
participant SM as GitHub Submodule
B->>PX: Initiate source unpacking
PX->>PX: Iterate over submodules via fetchSubmodule
PX->>SM: Request submodule details (owner, repo, revision, hash)
SM-->>PX: Return submodule outputs
PX->>B: Copy outputs and update build inputs
B->>PX: Continue build with new configurations
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
📜 Recent review detailsConfiguration used: .coderabbit.yaml ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (11)
🔇 Additional comments (12)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
The Nix build now ships with OpenBIOS. Also cleaned up the recipe a bit.
Also bumped up the number of build threads to 4, so the Github action build time has stayed the same even tho we're building the cross compiler too lol