93df2b837e
GitOrigin-RevId: 18d4025a8ee2f656d897505ccd0ba61a5b89bbea
20 lines
532 B
Nix
20 lines
532 B
Nix
{ lib, vscode-utils, terraform-ls }:
|
|
vscode-utils.buildVscodeMarketplaceExtension rec {
|
|
mktplcRef = {
|
|
name = "terraform";
|
|
publisher = "hashicorp";
|
|
version = "2.15.0";
|
|
sha256 = "0bqf9ry0idqw61714dc6y1rh5js35mi14q19yqhiwayyfakwraq9";
|
|
};
|
|
|
|
patches = [ ./fix-terraform-ls.patch ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace out/serverPath.js --replace TERRAFORM-LS-PATH ${terraform-ls}/bin/terraform-ls
|
|
'';
|
|
|
|
meta = with lib; {
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ rhoriguchi ];
|
|
};
|
|
}
|