Merge pull request #24607 from nh2/fix-24606-consul-version-unknown
Fix consul version being "unknown-unknown". Fixes #24606.
This commit is contained in:
commit
ffea5e10d7
@ -17,6 +17,10 @@ buildGoPackage rec {
|
||||
# Keep consul.ui for backward compatability
|
||||
passthru.ui = consul-ui;
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-X github.com/hashicorp/consul/version.GitDescribe=v${version} -X github.com/hashicorp/consul/version.Version=${version} -X github.com/hashicorp/consul/version.VersionPrerelease=")
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tool for service discovery, monitoring and configuration";
|
||||
homepage = "https://www.consul.io/";
|
||||
|
Loading…
Reference in New Issue
Block a user