mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #226812 from wegank/ovmf-darwin
OVMF: fix build on x86_64-darwin
This commit is contained in:
commit
d929430e43
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.PYTHON_COMMAND = "python3";
|
||||
|
||||
postPatch = lib.optionalString csmSupport ''
|
||||
cp ${seabios}/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue