mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
prometheus: correctly set version information (#40617)
The way prometheus expects the version to be set is not what was currently set.
This commit is contained in:
parent
5f00237eb6
commit
13ceaf66aa
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ let
|
|||
|
||||
doCheck = true;
|
||||
|
||||
buildFlagsArray = let t = "${goPackagePath}/version"; in ''
|
||||
buildFlagsArray = let t = "${goPackagePath}/vendor/github.com/prometheus/common/version"; in ''
|
||||
-ldflags=
|
||||
-X ${t}.Version=${version}
|
||||
-X ${t}.Revision=unknown
|
||||
|
|
Loading…
Reference in a new issue