diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-08-20 04:20:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-08-20 04:20:00 -0500 |
commit | ccdb936226d2838c1cc080f0d5775f67e41a780e (patch) | |
tree | 3767351a14c29bc23dbe044a23355bb18e763720 /pkgs/servers/monitoring | |
parent | 30cc8337441a9c7843a8cec84d6f89fd55f38124 (diff) |
timescale-prometheus: add buildFlagsArray
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/timescale-prometheus/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/timescale-prometheus/default.nix b/pkgs/servers/monitoring/timescale-prometheus/default.nix index bd847176e0a20..f5f4a4fd417f7 100644 --- a/pkgs/servers/monitoring/timescale-prometheus/default.nix +++ b/pkgs/servers/monitoring/timescale-prometheus/default.nix @@ -16,6 +16,8 @@ buildGoModule rec { vendorSha256 = "sha256:0y5rq2y48kf2z1z3a8ags6rqzfvjs54klk2679fk8x0yjamj5x04"; + buildFlagsArray = [ "-ldflags=-s -w -X github.com/timescale/timescale-prometheus/pkg/version.Version=${version} -X github.com/timescale/timescale-prometheus/pkg/version.CommitHash=${src.rev}" ]; + doCheck = false; meta = with stdenv.lib; { |