summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-02-05 11:24:53 +0800
committerBobby Rong <rjl931189261@126.com>2023-02-05 11:29:28 +0800
commit8d74a58c8d3c00d7917899c4d1d6dbc9f2e8a73d (patch)
tree68d3a427274e3d492c1e1fcd1c76a69a01badb98
parent67c3536f795f1bf8d9cbd0dd704899f16557d5af (diff)
vscode: Fix missing executable permissions
The terminal does not open without this. https://github.com/gentoo/gentoo/commit/4da5959
-rw-r--r--pkgs/applications/editors/vscode/generic.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix
index 1b4f4508fbf0..c2036566b384 100644
--- a/pkgs/applications/editors/vscode/generic.nix
+++ b/pkgs/applications/editors/vscode/generic.nix
@@ -135,6 +135,9 @@ let
# this fixes bundled ripgrep
chmod +x resources/app/node_modules/@vscode/ripgrep/bin/rg
+
+ # see https://github.com/gentoo/gentoo/commit/4da5959
+ chmod +x resources/app/node_modules/node-pty/build/Release/spawn-helper
'';
inherit meta;