netdata: don't use absolute path for echo

Upstream fix pending - https://github.com/netdata/netdata/pull/16300
This commit is contained in:
Joseph Stahl 2023-10-28 20:29:14 -04:00
parent fac16fbfae
commit 78aa559913
No known key found for this signature in database

View File

@ -118,6 +118,10 @@ stdenv.mkDerivation rec {
];
postFixup = ''
# remove once https://github.com/netdata/netdata/pull/16300 merged
substituteInPlace $out/bin/netdata-claim.sh \
--replace /bin/echo echo
wrapProgram $out/bin/netdata-claim.sh --prefix PATH : ${lib.makeBinPath [ openssl ]}
wrapProgram $out/libexec/netdata/plugins.d/cgroup-network-helper.sh --prefix PATH : ${lib.makeBinPath [ bash ]}
wrapProgram $out/bin/netdatacli --set NETDATA_PIPENAME /run/netdata/ipc