Skip to content

Commit 56ea313

Browse files
committedSep 13, 2017
prometheus-node-exported: fix output cycle on darwin
1 parent f5e0e94 commit 56ea313

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎pkgs/servers/monitoring/prometheus/node-exporter.nix

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ buildGoPackage rec {
1414
sha256 = "0rm43jjqv7crfahl973swi4warqmqnmv740cg800yvzvnlp37kl4";
1515
};
1616

17+
preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
18+
install_name_tool -delete_rpath $out/lib $bin/bin/node_exporter
19+
'';
20+
1721
# FIXME: megacli test fails
1822
doCheck = false;
1923

0 commit comments

Comments
 (0)
Please sign in to comment.