diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix index 8f547534cabd..a7aa4eae44f3 100644 --- a/pkgs/applications/editors/vscode/generic.nix +++ b/pkgs/applications/editors/vscode/generic.nix @@ -19,7 +19,6 @@ }: let - inherit (stdenv.hostPlatform) system; unwrapped = stdenv.mkDerivation { inherit pname version src sourceRoot dontFixup; @@ -135,9 +134,6 @@ let # this fixes bundled ripgrep chmod +x resources/app/node_modules/@vscode/ripgrep/bin/rg - '' + lib.optionalString (lib.versionOlder version "1.78.0" && stdenv.isLinux) '' - # see https://github.com/gentoo/gentoo/commit/4da5959 - chmod +x resources/app/node_modules/node-pty/build/Release/spawn-helper ''; inherit meta;