OVMF: fix build on x86_64-darwin
This commit is contained in:
parent
4e62ec6291
commit
ff8061e062
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ edk2.mkDerivation projectDscPath (finalAttrs: {
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Qunused-arguments";
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Qunused-arguments";
|
||||||
|
|
||||||
|
env.PYTHON_COMMAND = "python3";
|
||||||
|
|
||||||
postPatch = lib.optionalString csmSupport ''
|
postPatch = lib.optionalString csmSupport ''
|
||||||
cp ${seabios}/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin
|
cp ${seabios}/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue