blob: 7ce866e400c0f200a212cd4344a45a8060f62a7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ fetchFromGitHub
, fetchpatch
, edk2
, stdenv
, libuuid
, bc
, utillinux
, nasm
, iasl
}:
edk2.mkDerivation "UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc" {
pname = "coreboot-payload-tianocore";
inherit (edk2) version;
patches = [
./pr-1170-fix-build.diff
];
buildInputs = [ utillinux bc nasm iasl ];
buildFlags = [ "-a IA32" "-D BOOTLOADER=COREBOOT" ];
dontPatchELF = true;
}
|