mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
vscode: fix darwin ripgrep path for VS Code >= 1.129 (#543899)
This commit is contained in:
@@ -419,7 +419,11 @@ stdenv.mkDerivation (
|
||||
let
|
||||
nodeModulesPath =
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
if lib.versionAtLeast vscodeVersion "1.94.0" then
|
||||
# 1.129 moved node_modules back into app.asar, shipping native
|
||||
# binaries in the asar.unpacked directory like before 1.94
|
||||
if lib.versionAtLeast vscodeVersion "1.129.0" then
|
||||
"Contents/Resources/app/node_modules.asar.unpacked"
|
||||
else if lib.versionAtLeast vscodeVersion "1.94.0" then
|
||||
"Contents/Resources/app/node_modules"
|
||||
else
|
||||
"Contents/Resources/app/node_modules.asar.unpacked"
|
||||
|
||||
Reference in New Issue
Block a user