From 28093a126b913ea9629ac0a341c71be7c5e06763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 8 Sep 2018 08:31:34 +0200 Subject: Add copy of node from packages repository We need host build that is not build and feeds are not available in SDK so just recompile our own node to have host build. --- node/patches/003-path.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 node/patches/003-path.patch (limited to 'node/patches/003-path.patch') diff --git a/node/patches/003-path.patch b/node/patches/003-path.patch new file mode 100644 index 0000000..01a71c6 --- /dev/null +++ b/node/patches/003-path.patch @@ -0,0 +1,12 @@ +--- a/lib/module.js ++++ b/lib/module.js +@@ -453,7 +453,8 @@ Module._initPaths = function() { + homeDir = process.env.HOME; + } + +- var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')]; ++ var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node'), ++ path.resolve(process.execPath, '..', '..', 'lib', 'node_modules')]; + + if (homeDir) { + paths.unshift(path.resolve(homeDir, '.node_libraries')); -- cgit v1.2.3