Loading pkgs/applications/editors/vscode/extensions/sumneko.lua/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -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 = '' Loading pkgs/applications/editors/vscode/extensions/sumneko.lua/remove-chmod.patch +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')); Loading @@ -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}"!`); Loading
pkgs/applications/editors/vscode/extensions/sumneko.lua/default.nix +4 −2 Original line number Diff line number Diff line Loading @@ -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 = '' Loading
pkgs/applications/editors/vscode/extensions/sumneko.lua/remove-chmod.patch +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')); Loading @@ -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}"!`);