Merge pull request #264073 from josephst/fix/netdata-relative-path

This commit is contained in:
Ryan Lahfa 2023-10-29 20:10:43 +01:00 committed by GitHub
commit 24df047637
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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