summaryrefslogtreecommitdiff
path: root/overlays/prometheus-node-exporter.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-09-14 16:06:00 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-09-14 16:06:00 +0200
commit410a63cf1baf627a0b99c34a955b3d02efabb48f (patch)
tree0b8a0f16f6de3ea7e1495c373b647c3966e3f4fb /overlays/prometheus-node-exporter.nix
parentb931543508377c0e48a6801e4ea217eb523e2b03 (diff)
downloadnixos-410a63cf1baf627a0b99c34a955b3d02efabb48f.tar
nixos-410a63cf1baf627a0b99c34a955b3d02efabb48f.tar.gz
nixos-410a63cf1baf627a0b99c34a955b3d02efabb48f.tar.bz2
nixos-410a63cf1baf627a0b99c34a955b3d02efabb48f.tar.xz
nixos-410a63cf1baf627a0b99c34a955b3d02efabb48f.zip
...
Diffstat (limited to 'overlays/prometheus-node-exporter.nix')
-rw-r--r--overlays/prometheus-node-exporter.nix15
1 files changed, 0 insertions, 15 deletions
diff --git a/overlays/prometheus-node-exporter.nix b/overlays/prometheus-node-exporter.nix
deleted file mode 100644
index de5b15f2..00000000
--- a/overlays/prometheus-node-exporter.nix
+++ /dev/null
@@ -1,15 +0,0 @@
1{ prev, ... }: {
2 prometheus-systemd-exporter = prev.prometheus-systemd-exporter.overrideAttrs (oldAttrs: {
3 patches = oldAttrs.patches or [] ++ [
4 (prev.runCommand "cpu-unified.diff" {
5 src = prev.fetchurl {
6 url = "https://github.com/pelov/systemd_exporter/commit/2880a8dd1ca4909e51a569093284fad47343016a.diff";
7 hash = "sha256-i6sptiCdXmOqK5kfjLbIupctM34RqDahAE/39+35dRI=";
8 };
9 buildInputs = with prev; [ patchutils ];
10 } ''
11 filterdiff -x '**/CHANGELOG.md' $src > $out
12 '')
13 ];
14 });
15}