summaryrefslogtreecommitdiff
path: root/overlays/prometheus-systemd-exporter.nix
blob: 3a3ddc0711fd63b4e51324e4d6dcb470b531ba1f (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-ClrV9ZOlRruYXaeQwhWc9h88LP3Rm33Jf/dvxbqRS2I=";
      })
    ];
  });
}