mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
unpoller: properly set version
Signed-off-by: Sergei Lukianov <me@slukjanov.name>
This commit is contained in:
parent
8fcb7a49e5
commit
54ed1bd4c0
1 changed files with 1 additions and 4 deletions
|
@ -21,10 +21,7 @@ buildGoModule rec {
|
|||
ldflags = [
|
||||
"-w"
|
||||
"-s"
|
||||
"-X github.com/prometheus/common/version.Branch=master"
|
||||
"-X github.com/prometheus/common/version.BuildDate=unknown"
|
||||
"-X github.com/prometheus/common/version.Revision=${src.rev}"
|
||||
"-X github.com/prometheus/common/version.Version=${version}-0"
|
||||
"-X golift.io/version.Version=${version}"
|
||||
];
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) unpoller; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue