Commit 9c6d086e authored by Luka Blaskovic's avatar Luka Blaskovic
Browse files

vscode-extensions.sumneko.lua: 3.5.6 -> 3.6.19

parent fdf32c58
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -7,10 +7,12 @@ vscode-utils.buildVscodeMarketplaceExtension {
  mktplcRef = {
    name = "lua";
    publisher = "sumneko";
    version = "3.5.6";
    sha256 = "sha256-Unzs9rX/0MlQprSvScdBCCFMeLCaGzWsMbcFqSKY2XY=";
    version = "3.6.19";
    sha256 = "sha256-7f8zovJS1lNwrUryxgadrBbNRw/OwFqry57JWKY1D8E=";
  };

  # Running chmod in runtime will lock up extension
  # indefinitely if the binary is in nix store.
  patches = [ ./remove-chmod.patch ];

  postInstall = ''
+3 −5
Original line number Diff line number Diff line
diff --git a/client/out/languageserver.js b/client/out/languageserver.js
index 6c7429c..6f53aa4 100644
--- a/client/out/languageserver.js
+++ b/client/out/languageserver.js
@@ -79,11 +79,9 @@ class LuaClient {
@@ -145,11 +145,9 @@
                     break;
                 case "linux":
                     command = this.context.asAbsolutePath(path.join('server', binDir ? binDir : 'bin-Linux', 'lua-language-server'));
@@ -12,5 +10,5 @@ index 6c7429c..6f53aa4 100644
                     command = this.context.asAbsolutePath(path.join('server', binDir ? binDir : 'bin-macOS', 'lua-language-server'));
-                    yield fs.promises.chmod(command, '777');
                     break;
             }
             let serverOptions = {
                 default:
                     throw new Error(`Unsupported operating system "${platform}"!`);