prometheus-node-exported: fix output cycle on darwin

This commit is contained in:
Daiderd Jordan 2017-09-13 22:08:25 +02:00
parent f5e0e94b2a
commit 56ea313c29
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -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;