telegraf: fix version
This commit is contained in:
parent
bdd9d25e2c
commit
a0215e28ea
|
@ -19,7 +19,10 @@ buildGoModule rec {
|
|||
proxyVendor = true;
|
||||
|
||||
ldflags = [
|
||||
"-w" "-s" "-X main.version=${version}"
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=github.com/influxdata/telegraf/internal.Commit=${src.rev}"
|
||||
"-X=github.com/influxdata/telegraf/internal.Version=${version}"
|
||||
];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) telegraf; };
|
||||
|
|
Loading…
Reference in a new issue