summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-12-29 21:07:58 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-12-29 21:07:58 +0100
commit6d6e19a04921afd504e844a3ec7a24b1e296f4fb (patch)
tree418d5fb0a6ae2bf8a247b640497bfa3e0367565c /overlays
parent277fa259c19836f94e9371bb0873f61673661908 (diff)
downloadnixos-6d6e19a04921afd504e844a3ec7a24b1e296f4fb.tar
nixos-6d6e19a04921afd504e844a3ec7a24b1e296f4fb.tar.gz
nixos-6d6e19a04921afd504e844a3ec7a24b1e296f4fb.tar.bz2
nixos-6d6e19a04921afd504e844a3ec7a24b1e296f4fb.tar.xz
nixos-6d6e19a04921afd504e844a3ec7a24b1e296f4fb.zip
...
Diffstat (limited to 'overlays')
-rw-r--r--overlays/prometheus-systemd-exporter.nix11
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}