From 325a2aeccf46bc9647e8631d5bdd684bd4c45a02 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Sat, 8 Jul 2023 02:14:59 +0000 Subject: [PATCH] terraform-ls: 0.30.1 -> 0.31.3 --- .../development/tools/misc/terraform-ls/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/misc/terraform-ls/default.nix b/pkgs/development/tools/misc/terraform-ls/default.nix index 175f2b016e33..fa2f798a3594 100644 --- a/pkgs/development/tools/misc/terraform-ls/default.nix +++ b/pkgs/development/tools/misc/terraform-ls/default.nix @@ -1,18 +1,19 @@ -{ lib, buildGoModule, fetchFromGitHub, stdenv }: +{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "terraform-ls"; - version = "0.30.1"; + version = "0.31.3"; src = fetchFromGitHub { owner = "hashicorp"; repo = pname; rev = "v${version}"; - sha256 = "sha256-enPnj4/p83hQkVv821MGyGipgEmVo12IZzy/3y8UprQ="; + hash = "sha256-OzqJ/F3GeIaX4/z1KJdok8kUfualRzHv1AIM8dt8Kik="; }; - vendorSha256 = "sha256-U3zslBDVz5nvhNgcn5L84hSUolf7XFCuh7zMZxyW/gQ="; - ldflags = [ "-s" "-w" "-X main.version=v${version}" "-X main.prerelease=" ]; + vendorHash = "sha256-pEuen7CWniFzLgL1v+Xt1l6hde3YpyOMmQalj08UBX8="; + + ldflags = [ "-s" "-w" ]; # There's a mixture of tests that use networking and several that fail on aarch64 doCheck = false; @@ -21,7 +22,7 @@ buildGoModule rec { installCheckPhase = '' runHook preInstallCheck $out/bin/terraform-ls --help - $out/bin/terraform-ls version | grep "v${version}" + $out/bin/terraform-ls --version | grep "${version}" runHook postInstallCheck '';