nixpkgs/pkgs/servers/openvscode-server/remove-node-download.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
1.1 KiB
Diff
Raw Normal View History

2022-04-05 18:45:11 +00:00
diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
2023-05-19 19:55:04 +00:00
index 4630eaad3cc..96b165b0949 100644
2022-04-05 18:45:11 +00:00
--- a/build/gulpfile.reh.js
+++ b/build/gulpfile.reh.js
2023-05-19 19:55:04 +00:00
@@ -271,9 +271,6 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
2021-11-07 20:54:56 +00:00
.pipe(util.stripSourceMappingURL())
.pipe(jsFilter.restore);
2023-05-19 19:55:04 +00:00
2022-04-05 18:45:11 +00:00
- const nodePath = `.build/node/v${nodeVersion}/${platform}-${arch}`;
2021-11-07 20:54:56 +00:00
- const node = gulp.src(`${nodePath}/**`, { base: nodePath, dot: true });
2023-05-19 19:55:04 +00:00
-
2021-11-07 20:54:56 +00:00
let web = [];
if (type === 'reh-web') {
2023-05-19 19:55:04 +00:00
web = [
@@ -290,7 +287,6 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
2021-11-07 20:54:56 +00:00
license,
sources,
deps,
- node,
...web
);
2023-05-19 19:55:04 +00:00
@@ -408,7 +404,6 @@ function tweakProductForServerWeb(product) {
2021-11-07 20:54:56 +00:00
const destinationFolderName = `vscode-${type}${dashed(platform)}${dashed(arch)}`;
2023-05-19 19:55:04 +00:00
2021-11-07 20:54:56 +00:00
const serverTaskCI = task.define(`vscode-${type}${dashed(platform)}${dashed(arch)}${dashed(minified)}-ci`, task.series(
2022-04-05 18:45:11 +00:00
- gulp.task(`node-${platform}-${arch}`),
2021-11-07 20:54:56 +00:00
util.rimraf(path.join(BUILD_ROOT, destinationFolderName)),
packageTask(type, platform, arch, sourceFolderName, destinationFolderName)
));