diff options
author | Aaron Jheng <wentworth@outlook.com> | 2022-10-01 01:28:13 +0000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-10-11 12:31:09 +1000 |
commit | ec26b85a34eaa16c57f033d9802231dad3341de2 (patch) | |
tree | 9cd7acf706a98e2a436e993c5eb2706268dc9904 /pkgs/servers | |
parent | 16f5304c47f55607541acc1563190dd309a72ac0 (diff) |
prometheus-nats-exporter: unpin go1.17
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/nats-exporter.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/prometheus/nats-exporter.nix b/pkgs/servers/monitoring/prometheus/nats-exporter.nix index 8019599752b68..4a7b3507730d8 100644 --- a/pkgs/servers/monitoring/prometheus/nats-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/nats-exporter.nix @@ -13,6 +13,11 @@ buildGoModule rec { vendorSha256 = "sha256-hlC/s0pYhNHMv3i7Nmu4r6jnXGpc6raScv5dO32+tfQ="; + preCheck = '' + # Fix `insecure algorithm SHA1-RSA` problem + export GODEBUG=x509sha1=1; + ''; + meta = with lib; { description = "Exporter for NATS metrics"; homepage = "https://github.com/nats-io/prometheus-nats-exporter"; |