disable debug packages (memory exhausted on i686 builder)
[packages/nodejs.git] / nodejs-libpath.patch
CommitLineData
a7a47017
AM
1--- node-v12.14.1/lib/internal/modules/cjs/loader.js~ 2020-01-07 13:16:01.000000000 +0100
2+++ node-v12.14.1/lib/internal/modules/cjs/loader.js 2020-01-25 23:09:02.305347922 +0100
3@@ -1095,7 +1095,7 @@ Module._initPaths = function() {
4 path.resolve(process.execPath, '..') :
5 path.resolve(process.execPath, '..', '..');
6
7- let paths = [path.resolve(prefixDir, 'lib', 'node')];
8+ let paths = ["/usr/lib/node", "/usr/lib/node_modules", path.resolve(prefixDir, 'lib', 'node')];
a6070ceb 9
1ed21df5
A
10 if (homeDir) {
11 paths.unshift(path.resolve(homeDir, '.node_libraries'));
This page took 0.060815 seconds and 4 git commands to generate.