Commit Graph

27 Commits

Author SHA1 Message Date
Alex Haydock 2ddbe4cd4d fix: Use correct paths for Secure Boot OVMF_VARS on NixOS hosts 2026-02-27 14:35:27 +00:00
Martin Wimpress 7825f33527 fix(quickemu): remove integrated OpenCore support, require OpenCore.qcow2
- Remove integrated OpenCore creation/extraction code from quickget:
  require_mtools/sgdisk helpers, create_macos_disk_with_opencore,
  download_opencore and related logic
- Simplify quickemu macOS boot flow to expect a separate OpenCore.qcow2
  or ESP.qcow2; streamline device/drive argument construction
- Remove mtools and gptfdisk from devshell.nix and package.nix
- Always download OpenCore.qcow2 via legacy method and update status
  messages

Signed-off-by: Martin Wimpress <martin@wimpress.org>
2026-01-26 02:31:33 +00:00
Martin Wimpress dead42dc25 fix(nix): avoid CI stack overflow by using builtins.split
- Replace builtins.match with builtins.split for version extraction
- Previous regex with .* patterns caused catastrophic backtracking on large files (~2800 lines)
- builtins.split avoids full-string regex matching and is more efficient

Fixes: Nix build CI failure
2026-01-25 14:52:52 +00:00
Martin Wimpress 0742312aa5 build(packaging): sync Nix flakes, devshell and Debian packaging
- Update flake.nix and package.nix to refresh package definitions and
pins
- Refresh devshell.nix to include updated development dependencies
- Adjust debian/control metadata to match packaging and dependency
changes
- Align packaging metadata between Nix and Debian to improve
reproducibility

Signed-off-by: Martin Wimpress <martin@wimpress.org>
2026-01-25 01:51:53 +00:00
Martin Wimpress 1783381e29 feat(quickget): integrate OpenCore into macOS disk image by default
Create macOS VMs with OpenCore embedded in the EFI partition of disk.qcow2
instead of using a separate OpenCore.qcow2 file. This simplifies VM management
by reducing from two disk images to one.

Implementation:
- Add create_macos_disk_with_opencore() using mtools/sgdisk for cross-platform
  EFI partition creation without mounting or root privileges
- Add download_opencore() to extract OpenCore files from OSX-KVM image
- Use LC_ALL='' with mcopy to prevent FAT directory name mangling
- Adjust disk size threshold for macOS integrated mode (1GB vs 1.5MB)

Backwards compatibility:
- If OpenCore.qcow2 exists, use legacy two-disk boot method
- If mtools/sgdisk unavailable, fall back to legacy method automatically

New dependencies: mtools, gptfdisk (added to devshell.nix and package.nix)

Closes #1720
2026-01-24 12:42:51 +00:00
Martin Wimpress 5cd0149f3a
chore(deps): update flake, devshell and package Nix files
- Refresh flake.nix inputs and pins to align with current upstream
- Update devshell.nix to use revised development environment packages
- Adjust package.nix to match dependency and tooling changes from the
flake update
- Keep reproducible builds and developer tooling current

Signed-off-by: Martin Wimpress <martin@wimpress.org>
2026-01-23 13:10:55 +00:00
Marin efb71ecdcb s/glxinfo/mesa-demos
The nix package was renamed, but binary stays the same
2026-01-23 07:50:06 +00:00
Dridi Boukelmoune 84595dc32f
docs: Move quickemu_conf manual to section 5 (#1454)
* docs: Simplify make rules for pandoc

This removes a --standalone duplicate and counter-productive
indirections like $(MANSECTION) because it prevents having more
than one and docs/Makefile hardcodes the section anyway.

* docs: Move quickemu_conf manual to section 5

Where it technically belongs... With the new make rules for pandoc, it's
actually much easier to manage manuals in several sections without much
overhead.

* docs: Remove potential quickemu_conf.1 leftover
2024-10-04 11:35:36 +01:00
Liam aeb14a717b chore: Remove windowskey from packaging 2024-07-11 10:34:26 +01:00
Martin Wimpress e92fbe95a2 chore: remove ncurses from nix package and devshell 2024-07-02 14:09:29 +01:00
Martin Wimpress 66dfa6451a fix: patch samba detection in Nix flake 2024-07-02 13:13:25 +01:00
Martin Wimpress 93557fb61d fix(nix): include samba so file sharing works
https://github.com/NixOS/nixpkgs/pull/323133
2024-06-29 11:07:52 +01:00
Martin Wimpress 17f5932024 refactor: align package.nix with Nixpkgs 2024-06-27 00:44:24 +01:00
mystery3525 a85bb0897a Took inspiration from cebd9dd781/hhvm.nix (L76) 2024-06-25 08:57:22 +01:00
mystery3525 0f616dcf08 Update package.nix 2024-06-25 08:57:22 +01:00
Martin Wimpress f4c362eda7 refactor: update flake to, mostly, work on macOS 2024-06-24 08:32:19 +01:00
Martin Wimpress 4dab035d46 fix(nix): add missing gawk 2024-05-10 02:21:18 +01:00
Martin Wimpress 16e8115e77 fix(quickemu): detect GLSL version and enable GL accordingly. close #920 2024-05-10 01:48:52 +01:00
Phil Clifford da01bdf27d
fix: add pciutils dependency (#1186)
* fix: add pciutils dependency

required for quickreport
Todo: add to docs and nix

* fix: add pciutils dependecy to nix

* docs: document pciutils dependency

* chore:deconflict submodule
2024-05-10 00:20:15 +01:00
Martin Wimpress 87a6cf1887 fix: drop passthru.tests in package.nix 2024-05-09 19:07:10 +01:00
Martin Wimpress 32701815f9 feat: add quickreport; gather information for bug reports. close #1163 2024-05-09 16:58:30 +01:00
Martin Wimpress 391d00eaf4 chore: drop lsb_release from NIx devshell and package 2024-05-05 12:48:54 +01:00
Phil Clifford 4c47a2a3ab docs: Consistent description for package.nix
reflect changes made elsewhere
2024-05-05 09:32:10 +01:00
Martin Wimpress 5290be956b style: sort packages in .nix files 2024-05-02 17:07:02 +01:00
Martin Wimpress b1f9de6ef1 fix: add ncurses to devshell.nix and package.nix 2024-05-02 17:07:02 +01:00
Martin Wimpress b0a5ae91ce fix: add pname to package.nix 2024-05-02 17:07:02 +01:00
Martin Wimpress e4691ff6cd feat: add package.nix 2024-05-02 17:07:02 +01:00