OVMF: fix build on x86_64-darwin

This commit is contained in:
Weijia Wang 2023-04-18 13:27:00 +03:00
parent 4e62ec6291
commit ff8061e062

View file

@ -48,6 +48,8 @@ edk2.mkDerivation projectDscPath (finalAttrs: {
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Qunused-arguments";
env.PYTHON_COMMAND = "python3";
postPatch = lib.optionalString csmSupport ''
cp ${seabios}/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin
'';