diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2017-09-13 22:08:25 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2017-09-13 22:08:25 +0200 |
commit | 56ea313c29986c4ccbb12396de06efb3c47b81ac (patch) | |
tree | cf6be15d8ec9e234985cfa7870066354ad67300d /pkgs/servers | |
parent | f5e0e94b2a136a60e6236457e6ddc342ced4d42b (diff) | |
download | nixlib-56ea313c29986c4ccbb12396de06efb3c47b81ac.tar nixlib-56ea313c29986c4ccbb12396de06efb3c47b81ac.tar.gz nixlib-56ea313c29986c4ccbb12396de06efb3c47b81ac.tar.bz2 nixlib-56ea313c29986c4ccbb12396de06efb3c47b81ac.tar.lz nixlib-56ea313c29986c4ccbb12396de06efb3c47b81ac.tar.xz nixlib-56ea313c29986c4ccbb12396de06efb3c47b81ac.tar.zst nixlib-56ea313c29986c4ccbb12396de06efb3c47b81ac.zip |
prometheus-node-exported: fix output cycle on darwin
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/node-exporter.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/prometheus/node-exporter.nix b/pkgs/servers/monitoring/prometheus/node-exporter.nix index 2d2fb26324c4..611543ee87e2 100644 --- a/pkgs/servers/monitoring/prometheus/node-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/node-exporter.nix @@ -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; |