From 698b478eba44a4def9bbafd781077d2c420bb8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 31 Jul 2020 13:27:51 +0100 Subject: [PATCH] telegraf: use runVend this is needed on macOS to build gopsutils: https://github.com/shirou/gopsutil/issues/491 --- pkgs/servers/monitoring/telegraf/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/monitoring/telegraf/default.nix b/pkgs/servers/monitoring/telegraf/default.nix index 3b957f28c7a..d8743a54bd0 100644 --- a/pkgs/servers/monitoring/telegraf/default.nix +++ b/pkgs/servers/monitoring/telegraf/default.nix @@ -17,7 +17,8 @@ buildGoModule rec { sha256 = "0chi1ip7h7vplsyjvsfm9zbxjfdmgk17r16j70i9492dwln9frhj"; }; - vendorSha256 = "02cfmky0zbhfwnr7c902k79az9pcywha9x7vsm82r2qqdhx1h9kz"; + runVend = true; + vendorSha256 = "0c2sayg49b2rq3fnrbf741b6zy8byhwxlnxkhf5160gzqn6jy2rw"; buildFlagsArray = [ ''-ldflags= -w -s -X main.version=${version}