prometheus-dnsmasq-exporter: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 06:27:00 -05:00
parent 47e436793b
commit f34fd0c37a
2 changed files with 6 additions and 2 deletions
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "dnsmasq_exporter";
@@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "1ag1k0z35zkazaxj8hh2wxfj73xg63xdybfm1565il2vxs5986dh";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "A dnsmasq exporter for Prometheus";