Unverified Commit 6a2fc401 authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

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

parent 6596aa02
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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 = {