vscode-extensions.nvarner.typst-lsp: minor fix

This commit is contained in:
Pol Dellaiera 2023-11-18 13:14:55 +01:00
parent 6596aa020c
commit 6a2fc4017b
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -2735,7 +2735,6 @@ let
};
};
nvarner.typst-lsp = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "typst-lsp";
@ -2748,9 +2747,13 @@ let
nativeBuildInputs = [ jq moreutils ];
buildInputs = [
typst-lsp
];
postInstall = ''
cd "$out/$installPrefix"
jq '.contributes.configuration.properties."typst-lsp.serverPath".default = "${typst-lsp}/bin/typst-lsp"' package.json | sponge package.json
jq '.contributes.configuration.properties."typst-lsp.serverPath".default = "${lib.getExe typst-lsp}"' package.json | sponge package.json
'';
meta = {