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 19 , alejandra 20 20 , millet 21 21 , shfmt 22 + , typst-lsp 22 23 , autoPatchelfHook 23 24 , zlib 24 25 , stdenv ··· 2278 2279 version = "0.4.1"; 2279 2280 sha256 = "sha256-NZejUb99JDcnqjihLTPkNzVCgpqDkbiwAySbBVZ0esY="; 2280 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 + 2281 2290 meta = { 2282 2291 changelog = "https://marketplace.visualstudio.com/items/nvarner.typst-lsp/changelog"; 2283 2292 description = "A VSCode extension for providing a language server for Typst";