vscode-extensions.nvarner.typst-lsp: fix path to `typst-lsp` (#228856)

authored by

Pol Dellaiera and committed by
GitHub
72453271 c0a40e05

+9
+9
pkgs/applications/editors/vscode/extensions/default.nix
··· 19 , alejandra 20 , millet 21 , shfmt 22 , autoPatchelfHook 23 , zlib 24 , stdenv ··· 2278 version = "0.4.1"; 2279 sha256 = "sha256-NZejUb99JDcnqjihLTPkNzVCgpqDkbiwAySbBVZ0esY="; 2280 }; 2281 meta = { 2282 changelog = "https://marketplace.visualstudio.com/items/nvarner.typst-lsp/changelog"; 2283 description = "A VSCode extension for providing a language server for Typst";
··· 19 , alejandra 20 , millet 21 , shfmt 22 + , typst-lsp 23 , autoPatchelfHook 24 , zlib 25 , stdenv ··· 2279 version = "0.4.1"; 2280 sha256 = "sha256-NZejUb99JDcnqjihLTPkNzVCgpqDkbiwAySbBVZ0esY="; 2281 }; 2282 + 2283 + nativeBuildInputs = [ jq moreutils ]; 2284 + 2285 + postInstall = '' 2286 + cd "$out/$installPrefix" 2287 + jq '.contributes.configuration.properties."typst-lsp.serverPath".default = "${typst-lsp}/bin/typst-lsp"' package.json | sponge package.json 2288 + ''; 2289 + 2290 meta = { 2291 changelog = "https://marketplace.visualstudio.com/items/nvarner.typst-lsp/changelog"; 2292 description = "A VSCode extension for providing a language server for Typst";