3
0
Fork 0
forked from mirrors/nixpkgs

telegraf: use runVend

this is needed on macOS to build gopsutils:

https://github.com/shirou/gopsutil/issues/491
This commit is contained in:
Jörg Thalheim 2020-07-31 13:27:51 +01:00
parent f68c979ac2
commit 698b478eba
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -17,7 +17,8 @@ buildGoModule rec {
sha256 = "0chi1ip7h7vplsyjvsfm9zbxjfdmgk17r16j70i9492dwln9frhj";
};
vendorSha256 = "02cfmky0zbhfwnr7c902k79az9pcywha9x7vsm82r2qqdhx1h9kz";
runVend = true;
vendorSha256 = "0c2sayg49b2rq3fnrbf741b6zy8byhwxlnxkhf5160gzqn6jy2rw";
buildFlagsArray = [ ''-ldflags=
-w -s -X main.version=${version}