Describe the bug
Xen package does not build on EFI systems even while support was added in #60485 Add support for booting as Xen dom0 on EFI systems.
To Reproduce
Enable Xen in configuration.nix on a system with EFI boot:
virtualisation.xen.enable = true;
Expected behavior
Xen packages are built and enabled.
Log
Error message is given to the user as nix configuration fails to build.
error:
Failed assertions:
- Xen currently does not support EFI boot
Related to #12225, failed assertion.
Notify maintainers
Xen maintainers @eelco @tstrobel @oxij
Metadata
Using nixos 21.05 with EFI boot
Maintainer information:
|
assertions = [ { |
|
assertion = pkgs.stdenv.isx86_64; |
|
message = "Xen currently not supported on ${pkgs.stdenv.hostPlatform.system}"; |
|
} { |
|
assertion = config.boot.loader.grub.enable && (config.boot.loader.grub.efiSupport == false); |
|
message = "Xen currently does not support EFI boot"; |
|
} ]; |
|
|
Describe the bug
Xen package does not build on EFI systems even while support was added in #60485 Add support for booting as Xen dom0 on EFI systems.
To Reproduce
Enable Xen in
configuration.nixon a system with EFI boot:Expected behavior
Xen packages are built and enabled.
Log
Error message is given to the user as nix configuration fails to build.
Related to #12225, failed assertion.
Notify maintainers
Xen maintainers @eelco @tstrobel @oxij
Metadata
Using
nixos 21.05with EFI bootMaintainer information:
nixpkgs/nixos/modules/virtualisation/xen-dom0.nix
Lines 150 to 157 in 78af98a