Patched version of nixpkgs flashrom compiled with meson.
Meson is needed to build fwupd with flashrom plugin.
inputs = {
flashrom-meson = {
url = "github:roger/flashrom-meson-nix";
flake = false;
};
...
};
outputs = { flashrom-meson }:
let overlay-replace-flashrom = final: prev: {
flashrom = final.callPackage flashrom-meson {};
};
in {
nixosConfigurations.host = nixpkgs.lib.nixosSystem {
modules = [ overlay-replace-flashrom ];
...
};
...
};