consul: buildFlagsArray -> ldflags
This commit is contained in:
parent
8489655548
commit
09138462c8
|
@ -32,12 +32,11 @@ buildGoModule rec {
|
||||||
|
|
||||||
deleteVendor = true;
|
deleteVendor = true;
|
||||||
|
|
||||||
preBuild = ''
|
ldflags = [
|
||||||
buildFlagsArray+=("-ldflags"
|
"-X github.com/hashicorp/consul/version.GitDescribe=v${version}"
|
||||||
"-X github.com/hashicorp/consul/version.GitDescribe=v${version}
|
"-X github.com/hashicorp/consul/version.Version=${version}"
|
||||||
-X github.com/hashicorp/consul/version.Version=${version}
|
"-X github.com/hashicorp/consul/version.VersionPrerelease="
|
||||||
-X github.com/hashicorp/consul/version.VersionPrerelease=")
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool for service discovery, monitoring and configuration";
|
description = "Tool for service discovery, monitoring and configuration";
|
||||||
|
|
Loading…
Reference in a new issue