Skip to content

Commit

Permalink
netdata-go.d.plugin: 0.15.0 -> 0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam authored and Jon committed Apr 16, 2020
1 parent 7ff456d commit 95e007d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 546 deletions.
4 changes: 2 additions & 2 deletions pkgs/tools/system/netdata/default.nix
Expand Up @@ -41,8 +41,8 @@ in stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1";

postInstall = ''
ln -s ${go-d-plugin.bin}/lib/netdata/conf.d/* $out/lib/netdata/conf.d
ln -s ${go-d-plugin.bin}/bin/godplugin $out/libexec/netdata/plugins.d/go.d.plugin
ln -s ${go-d-plugin}/lib/netdata/conf.d/* $out/lib/netdata/conf.d
ln -s ${go-d-plugin}/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 \
Expand Down

0 comments on commit 95e007d

Please sign in to comment.