vscode: fix darwin build

It seems that the ripgrep path has changed in 1.94.0.
This commit is contained in:
Theodore Ni 2024-10-05 13:14:35 -07:00
parent 91bbd39283
commit d22149100e
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -236,6 +236,9 @@ in
let
vscodeRipgrep =
if stdenv.hostPlatform.isDarwin then
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";