Skip to content

fix(devshell): enable EFI boot on macOS by patching OVMF paths#1809

Merged
flexiondotorg merged 1 commit intomasterfrom
nix-dev
Jan 24, 2026
Merged

fix(devshell): enable EFI boot on macOS by patching OVMF paths#1809
flexiondotorg merged 1 commit intomasterfrom
nix-dev

Conversation

@flexiondotorg
Copy link
Member

Nix's qemu_full bundles EDK2 firmware with different filenames than quickemu expects. Add darwin-specific sed patterns to:

  • Set SHARE_PATH to qemu_full's share directory
  • Prepend correct firmware paths (edk2-x86_64-code.fd, edk2-i386-vars.fd) to the ovmfs search array

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have performed a self-review of my code
  • I have tested my code in common scenarios and confirmed there are no regressions

Nix's qemu_full bundles EDK2 firmware with different filenames than
quickemu expects. Add darwin-specific sed patterns to:
- Set SHARE_PATH to qemu_full's share directory
- Prepend correct firmware paths (edk2-x86_64-code.fd, edk2-i386-vars.fd)
  to the ovmfs search array
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

@flexiondotorg flexiondotorg merged commit 81143af into master Jan 24, 2026
3 checks passed
@flexiondotorg flexiondotorg deleted the nix-dev branch January 24, 2026 10:02
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