diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix index 1c5fe1a56a42..6351b9d71bf1 100644 --- a/pkgs/applications/editors/vscode/generic.nix +++ b/pkgs/applications/editors/vscode/generic.nix @@ -236,7 +236,10 @@ in let vscodeRipgrep = if stdenv.hostPlatform.isDarwin then - "Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg" + if lib.versionAtLeast version "1.94.0" then + "Contents/Resources/app/node_modules/@vscode/ripgrep/bin/rg" + else + "Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg" else "resources/app/node_modules/@vscode/ripgrep/bin/rg"; in