vscode-extensions.nvarner.typst-lsp: fix path to typst-lsp
(#228856)
This commit is contained in:
parent
c0a40e0526
commit
72453271bb
@ -19,6 +19,7 @@
|
||||
, alejandra
|
||||
, millet
|
||||
, shfmt
|
||||
, typst-lsp
|
||||
, autoPatchelfHook
|
||||
, zlib
|
||||
, stdenv
|
||||
@ -2278,6 +2279,14 @@ let
|
||||
version = "0.4.1";
|
||||
sha256 = "sha256-NZejUb99JDcnqjihLTPkNzVCgpqDkbiwAySbBVZ0esY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ jq moreutils ];
|
||||
|
||||
postInstall = ''
|
||||
cd "$out/$installPrefix"
|
||||
jq '.contributes.configuration.properties."typst-lsp.serverPath".default = "${typst-lsp}/bin/typst-lsp"' package.json | sponge package.json
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://marketplace.visualstudio.com/items/nvarner.typst-lsp/changelog";
|
||||
description = "A VSCode extension for providing a language server for Typst";
|
||||
|
Loading…
Reference in New Issue
Block a user