diff options
author | Nick Cao <nickcao@nichi.co> | 2023-11-19 11:03:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-19 11:03:02 -0500 |
commit | 3a9f07dd8d0e488bf66181a5ce21f110cfc074d7 (patch) | |
tree | 9ca664a56fe6e9e491f76ddc76e9aa0bf176ae99 /pkgs | |
parent | ab12fb4eef5e704c7bfb6da8959ac982d0e1b82c (diff) | |
parent | 5ca5dea7cb987c2fae5155cdd1b526f5e53c2ac6 (diff) |
Merge pull request #268514 from aaronjheng/prometheus-rabbitmq-exporter
prometheus-rabbitmq-exporter: fix build on Darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix b/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix index 90207be3343a9..213b2285c5e7d 100644 --- a/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix @@ -13,6 +13,13 @@ buildGoModule rec { vendorHash = "sha256-ER0vK0xYUbQT3bqUosQMFT7HBycb3U8oI4Eak72myzs="; + ldflags = [ "-s" "-w" ]; + + checkFlags = [ + # Disable flaky tests on Darwin + "-skip=TestWholeApp|TestExporter" + ]; + meta = with lib; { description = "Prometheus exporter for RabbitMQ"; homepage = "https://github.com/kbudde/rabbitmq_exporter"; |