Merge pull request #226812 from wegank/ovmf-darwin

OVMF: fix build on x86_64-darwin
This commit is contained in:
Weijia Wang 2023-04-18 21:21:47 +03:00 committed by GitHub
commit d929430e43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
'';