victoriametrics: add ldflags

This commit is contained in:
Mario Rodas 2020-07-08 04:20:00 -05:00
parent bca87facad
commit cf5467dfa4
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -13,6 +13,8 @@ buildGoPackage rec {
goPackagePath = "github.com/VictoriaMetrics/VictoriaMetrics"; goPackagePath = "github.com/VictoriaMetrics/VictoriaMetrics";
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/lib/buildinfo.Version=${version}" ];
meta = with lib; { meta = with lib; {
homepage = "https://victoriametrics.com/"; homepage = "https://victoriametrics.com/";
description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus"; description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus";