Roger / flashrom-meson-nix

1 stars 0 forks source link

Patched version of nixpkgs flashrom compiled with meson.

Meson is needed to build fwupd with flashrom plugin.

Example usage as an overlay, in a flake:

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 ];
      ...
    };
  ...
};