Merge pull request #128951 from 06kellyjac/terraform-ls

terraform-ls: 0.18.1 -> 0.18.2
This commit is contained in:
Sandro 2021-07-06 00:18:25 +02:00 committed by GitHub
commit 5e7d1f174b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,19 +2,17 @@
buildGoModule rec {
pname = "terraform-ls";
version = "0.18.1";
version = "0.18.2";
src = fetchFromGitHub {
owner = "hashicorp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-68Hs9kwv7GTGnYtoJh61ubaggPKbxFwz7qDwYaJ74c8=";
sha256 = "sha256-d/dn77pV9qxzAm6NVOM5KhFxYi2/xEK02zMl2TTB5rA=";
};
vendorSha256 = "sha256-NgOpnCe0uGQVDVKYUIULqPTfvfkDtxIUQiCVwiE7nuc=";
vendorSha256 = "sha256-0PcMxotUEys+jGDFEEz6owbtTGAac+RwoBWEHP5ifKQ=";
preBuild = ''
buildFlagsArray+=("-ldflags" "-s -w -X main.version=v${version} -X main.prerelease=")
'';
ldflags = [ "-s" "-w" "-X main.version=v${version}" "-X main.prerelease=" ];
preCheck = ''
# Remove tests that requires networking