Pinetab-v: rope in config
This commit is contained in:
19
machines/ptv/pkgs-cross/fwupd-efi/default.nix
Normal file
19
machines/ptv/pkgs-cross/fwupd-efi/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
(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
|
||||
];
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user