victoriametrics: add ldflags
This commit is contained in:
parent
bca87facad
commit
cf5467dfa4
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ buildGoPackage rec {
|
|||
|
||||
goPackagePath = "github.com/VictoriaMetrics/VictoriaMetrics";
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/lib/buildinfo.Version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://victoriametrics.com/";
|
||||
description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus";
|
||||
|
|
Loading…
Reference in a new issue