20 lines
556 B
Nix
20 lines
556 B
Nix
(final: prev:
|
|
prev.fwupd-efi.overrideAttrs (old: {
|
|
mesonFlags = old.mesonFlags ++ [
|
|
# Use this instead of patch, however it points to proper binary
|
|
"-Defi-cc=${prev.stdenv.cc.targetPrefix}cc"
|
|
];
|
|
preBuild = ''
|
|
cp ${prev.gnu-efi}/lib/*.lds ../efi/lds
|
|
'';
|
|
patches = [
|
|
(prev.fetchurl {
|
|
url = "https://github.com/fwupd/fwupd-efi/commit/986a6e3beee6b951ca3622f47ed991e0e11c065c.diff";
|
|
hash = "sha256-UKerVzSn28QSoca6m2igVM6ai8i3B2jyB52B6e/HV5A=";
|
|
})
|
|
# ./efi-meson.patch
|
|
];
|
|
})
|
|
)
|
|
|