diff options
Diffstat (limited to 'lang/node-homebridge/patches')
-rw-r--r-- | lang/node-homebridge/patches/000-add_module_search_path.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/node-homebridge/patches/000-add_module_search_path.patch b/lang/node-homebridge/patches/000-add_module_search_path.patch new file mode 100644 index 000000000..265503627 --- /dev/null +++ b/lang/node-homebridge/patches/000-add_module_search_path.patch @@ -0,0 +1,10 @@ +--- a/lib/pluginManager.js ++++ b/lib/pluginManager.js +@@ -308,6 +308,7 @@ + else { + this.searchPaths.add("/usr/local/lib/node_modules"); + this.searchPaths.add("/usr/lib/node_modules"); ++ this.searchPaths.add("/usr/lib/node"); + this.searchPaths.add(child_process_1.execSync("/bin/echo -n \"$(npm --no-update-notifier -g prefix)/lib/node_modules\"").toString("utf8")); + } + } |