diff options
Diffstat (limited to 'overlays/prometheus-systemd-exporter.nix')
-rw-r--r-- | overlays/prometheus-systemd-exporter.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/overlays/prometheus-systemd-exporter.nix b/overlays/prometheus-systemd-exporter.nix new file mode 100644 index 00000000..3a3ddc07 --- /dev/null +++ b/overlays/prometheus-systemd-exporter.nix | |||
@@ -0,0 +1,11 @@ | |||
1 | { final, prev, ... }: { | ||
2 | prometheus-systemd-exporter = prev.prometheus-systemd-exporter.overrideAttrs (oldAttrs: { | ||
3 | patches = (oldAttrs.patches or []) ++ [ | ||
4 | (final.fetchpatch { | ||
5 | name = "cpu_stat.patch"; | ||
6 | url = "https://github.com/prometheus-community/systemd_exporter/pull/74.patch"; | ||
7 | hash = "sha256-ClrV9ZOlRruYXaeQwhWc9h88LP3Rm33Jf/dvxbqRS2I="; | ||
8 | }) | ||
9 | ]; | ||
10 | }); | ||
11 | } | ||