OVMFFull: fix build on non-x86 platforms

e.g. aarch64

`csmSupport` requires SeaBIOS, which is arguably x86 (i686 and x86_64) only.
This commit is contained in:
Raito Bezarius 2023-09-29 20:03:13 +02:00
parent c182df2e68
commit 388c7acd20

View file

@ -27216,7 +27216,9 @@ with pkgs;
OVMF = callPackage ../applications/virtualization/OVMF { };
OVMFFull = callPackage ../applications/virtualization/OVMF {
secureBoot = true;
csmSupport = true;
# CSM support is a BIOS emulation mechanism,
# SeaBIOS is only available on x86.
csmSupport = stdenv.hostPlatform.isx86;
httpSupport = true;
tpmSupport = true;
};