void-packages/srcpkgs/vscode/patches/ripgrep.patch

33 lines
1.2 KiB
Diff

Ping atk if this needs updating.
This prevents vscode from fetching prebuilt ripgrep from Microsoft
during build, which unbreaks build on platforms where MS deos not
ship a prebuilt ripgrep.
diff --git a/package.json b/package.json
index 39c3e9f5b10..198dbf3e421 100644
--- a/package.json
+++ b/package.json
@@ -62,7 +62,7 @@
"@microsoft/applicationinsights-web": "^2.6.4",
"@parcel/watcher": "2.0.5",
"@vscode/iconv-lite-umd": "0.7.0",
- "@vscode/ripgrep": "^1.14.2",
+ "@vscode/ripgrep": "https://github.com/atk/void-vscode-ripgrep.git",
"@vscode/sqlite3": "5.0.8",
"@vscode/sudo-prompt": "9.3.1",
"@vscode/vscode-languagedetection": "1.0.21",
diff --git a/remote/package.json b/remote/package.json
index 936aa5f5bab..152ba516795 100644
--- a/remote/package.json
+++ b/remote/package.json
@@ -6,7 +6,7 @@
"@microsoft/applicationinsights-web": "^2.6.4",
"@parcel/watcher": "2.0.5",
"@vscode/iconv-lite-umd": "0.7.0",
- "@vscode/ripgrep": "^1.14.2",
+ "@vscode/ripgrep": "https://github.com/atk/void-vscode-ripgrep.git",
"@vscode/vscode-languagedetection": "1.0.21",
"applicationinsights": "1.4.2",
"cookie": "^0.4.0",