vscode-extensions.hashicorp.terraform: 2.34.3 -> 2.34.4 (#415691)
This commit is contained in:
commit
8fba93d37d
@ -1,21 +1,32 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
vscode-utils,
|
vscode-utils,
|
||||||
|
jq,
|
||||||
|
moreutils,
|
||||||
terraform-ls,
|
terraform-ls,
|
||||||
|
vscode-extension-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
vscode-utils.buildVscodeMarketplaceExtension {
|
vscode-utils.buildVscodeMarketplaceExtension {
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "terraform";
|
name = "terraform";
|
||||||
publisher = "hashicorp";
|
publisher = "hashicorp";
|
||||||
version = "2.34.3";
|
version = "2.34.4";
|
||||||
hash = "sha256-kE9xH0cp741aCqhrwFDW+lQxOAsdLNzCCOTWMxd+li0=";
|
hash = "sha256-gTU37q7kh51CxqQE7KylSwEK4ubiUU5uihbFew/Fg98=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postInstall = ''
|
||||||
substituteInPlace dist/extension.js \
|
cd "$out/$installPrefix"
|
||||||
--replace-fail 'this.customBinPath=Ga("terraform").get("languageServer.path")' 'this.customBinPath = Ga("terraform").get("languageServer.path") || '${terraform-ls}/bin/terraform-ls';'
|
${lib.getExe jq} '.contributes.configuration[0].properties."terraform.languageServer.path".default = "${terraform-ls}/bin/terraform-ls"' package.json | ${lib.getExe' moreutils "sponge"} package.json
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = vscode-extension-update-script {
|
||||||
|
extraArgs = [
|
||||||
|
"--override-filename"
|
||||||
|
"pkgs/applications/editors/vscode/extensions/hashicorp.terraform/default.nix"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = [ lib.maintainers.rhoriguchi ];
|
maintainers = [ lib.maintainers.rhoriguchi ];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user