mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
[backport release 24.05] vscode: fix darwin build (#347728)
This commit is contained in:
@@ -233,8 +233,11 @@ in
|
||||
'' + (
|
||||
let
|
||||
vscodeRipgrep =
|
||||
if stdenv.isDarwin then
|
||||
"Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg"
|
||||
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";
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user