Skip to content

Commit 2b6b141

Browse files
authored
netdata: fix absolute path to lm_sensors binary (NixOS#365461)
2 parents e4bf30f + f2128f8 commit 2b6b141

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkgs/tools/system/netdata/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ stdenv'.mkDerivation (finalAttrs: {
234234
wrapProgram $out/bin/netdata-claim.sh --prefix PATH : ${lib.makeBinPath [ openssl ]}
235235
wrapProgram $out/libexec/netdata/plugins.d/cgroup-network-helper.sh --prefix PATH : ${lib.makeBinPath [ bash ]}
236236
wrapProgram $out/bin/netdatacli --set NETDATA_PIPENAME /run/netdata/ipc
237+
substituteInPlace $out/lib/netdata/conf.d/go.d/sensors.conf --replace-fail '/usr/bin/sensors' '${lm_sensors}/bin/sensors'
237238
238239
# Time to cleanup the output directory.
239240
unlink $out/sbin

0 commit comments

Comments
 (0)