Skip to content

Commit

Permalink
prometheus-node-exported: fix output cycle on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Sep 13, 2017
1 parent f5e0e94 commit 56ea313
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/servers/monitoring/prometheus/node-exporter.nix
Expand Up @@ -14,6 +14,10 @@ buildGoPackage rec {
sha256 = "0rm43jjqv7crfahl973swi4warqmqnmv740cg800yvzvnlp37kl4";
};

preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -delete_rpath $out/lib $bin/bin/node_exporter
'';

# FIXME: megacli test fails
doCheck = false;

Expand Down

0 comments on commit 56ea313

Please sign in to comment.