Unverified Commit d2214910 authored by Theodore Ni's avatar Theodore Ni
Browse files

vscode: fix darwin build

It seems that the ripgrep path has changed in 1.94.0.
parent 91bbd392
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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";