From 80db5facb4b82fd3ffaca358dbcd78825af891f2 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Wed, 19 Jun 2024 21:41:30 +0200 Subject: [PATCH] netdata: workaround for go.d plugins directory accesses Change-Id: I1731e8f3d2c53dfed8d1be3f74f9219f7cf84a34 Signed-off-by: Raito Bezarius --- pkgs/tools/system/netdata/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/tools/system/netdata/default.nix b/pkgs/tools/system/netdata/default.nix index 9e019c0f1b0e..0067f8eb585b 100644 --- a/pkgs/tools/system/netdata/default.nix +++ b/pkgs/tools/system/netdata/default.nix @@ -65,6 +65,13 @@ stdenv.mkDerivation rec { url = "https://github.com/netdata/netdata/pull/17240/commits/b108df72281633234b731b223d99ec99f1d36adf.patch"; hash = "sha256-tgsnbNY0pxFU3bz1J1qPaAeVsozsk2bpHV2mNy8A9is="; }) + # Allow for go.d plugins to access the right directory. + # Can be removed once > v1.45.4 is released + # https://github.com/netdata/netdata/pull/17661 + (fetchpatch { + url = "https://patch-diff.githubusercontent.com/raw/netdata/netdata/pull/17661.patch"; + sha256 = "sha256-j+mrwkibQio2KO8UnV7sxzCoHmkcsalHNzP+YvrRz74="; + }) ]; # Guard against unused buld-time development inputs in closure. Without