diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/openvscode-server/remove-node-download.patch')
-rw-r--r-- | nixpkgs/pkgs/servers/openvscode-server/remove-node-download.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/openvscode-server/remove-node-download.patch b/nixpkgs/pkgs/servers/openvscode-server/remove-node-download.patch new file mode 100644 index 000000000000..f8df53770acc --- /dev/null +++ b/nixpkgs/pkgs/servers/openvscode-server/remove-node-download.patch @@ -0,0 +1,30 @@ +diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js +index 4630eaad3cc..96b165b0949 100644 +--- a/build/gulpfile.reh.js ++++ b/build/gulpfile.reh.js +@@ -271,9 +271,6 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa + .pipe(util.stripSourceMappingURL()) + .pipe(jsFilter.restore); + +- const nodePath = `.build/node/v${nodeVersion}/${platform}-${arch}`; +- const node = gulp.src(`${nodePath}/**`, { base: nodePath, dot: true }); +- + let web = []; + if (type === 'reh-web') { + web = [ +@@ -290,7 +287,6 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa + license, + sources, + deps, +- node, + ...web + ); + +@@ -408,7 +404,6 @@ function tweakProductForServerWeb(product) { + const destinationFolderName = `vscode-${type}${dashed(platform)}${dashed(arch)}`; + + const serverTaskCI = task.define(`vscode-${type}${dashed(platform)}${dashed(arch)}${dashed(minified)}-ci`, task.series( +- gulp.task(`node-${platform}-${arch}`), + util.rimraf(path.join(BUILD_ROOT, destinationFolderName)), + packageTask(type, platform, arch, sourceFolderName, destinationFolderName) + )); |