Skip to content

Commit

Permalink
victoriametrics: add ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam committed Jul 8, 2020
1 parent bca87fa commit cf5467d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/servers/nosql/victoriametrics/default.nix
Expand Up @@ -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";
Expand Down

0 comments on commit cf5467d

Please sign in to comment.