summaryrefslogtreecommitdiff
path: root/overlays/prometheus-systemd-exporter.nix
blob: 84cddb8e5c42f178d3505d374e2efd23fdf54df2 (plain)
1
2
3
4
5
6
7
8
9
10
11
{ final, prev, ... }: {
  prometheus-systemd-exporter = prev.prometheus-systemd-exporter.overrideAttrs (oldAttrs: {
    patches = (oldAttrs.patches or []) ++ [
      (final.fetchpatch {
        name = "cpu_stat.patch";
        url = "https://github.com/prometheus-community/systemd_exporter/pull/74.patch";
        hash = "sha256-a4M9SPckwkvetxjWMamm0x2wcg2a+Rkicn1XRUHieuM=";
      })
    ];
  });
}