netdata: fix load go.d.plugin

This commit is contained in:
Izorkin 2020-03-19 19:13:01 +03:00
parent 4726a8f2d4
commit 5440025016

View file

@ -47,7 +47,7 @@ in stdenv.mkDerivation rec {
postInstall = ''
ln -s ${go-d-plugin.bin}/lib/netdata/conf.d/* $out/lib/netdata/conf.d
ln -s ${go-d-plugin.bin}/bin/godplugind $out/libexec/netdata/plugins.d/go.d.plugin
ln -s ${go-d-plugin.bin}/bin/godplugin $out/libexec/netdata/plugins.d/go.d.plugin
'' + optionalString (!stdenv.isDarwin) ''
# rename this plugin so netdata will look for setuid wrapper
mv $out/libexec/netdata/plugins.d/apps.plugin \