Merge pull request #128951 from 06kellyjac/terraform-ls
terraform-ls: 0.18.1 -> 0.18.2
This commit is contained in:
commit
5e7d1f174b
1 changed files with 4 additions and 6 deletions
|
@ -2,19 +2,17 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "terraform-ls";
|
pname = "terraform-ls";
|
||||||
version = "0.18.1";
|
version = "0.18.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hashicorp";
|
owner = "hashicorp";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-68Hs9kwv7GTGnYtoJh61ubaggPKbxFwz7qDwYaJ74c8=";
|
sha256 = "sha256-d/dn77pV9qxzAm6NVOM5KhFxYi2/xEK02zMl2TTB5rA=";
|
||||||
};
|
};
|
||||||
vendorSha256 = "sha256-NgOpnCe0uGQVDVKYUIULqPTfvfkDtxIUQiCVwiE7nuc=";
|
vendorSha256 = "sha256-0PcMxotUEys+jGDFEEz6owbtTGAac+RwoBWEHP5ifKQ=";
|
||||||
|
|
||||||
preBuild = ''
|
ldflags = [ "-s" "-w" "-X main.version=v${version}" "-X main.prerelease=" ];
|
||||||
buildFlagsArray+=("-ldflags" "-s -w -X main.version=v${version} -X main.prerelease=")
|
|
||||||
'';
|
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
# Remove tests that requires networking
|
# Remove tests that requires networking
|
||||||
|
|
Loading…
Reference in a new issue