python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / node-packages / thelounge-packages-path.patch
blobc0a9ad80be2f0af795b6e1305385e6b5fa350f0d
1 diff --git a/src/helper.js b/src/helper.js
2 index 27352b53..7078e4c5 100644
3 --- a/src/helper.js
4 +++ b/src/helper.js
5 @@ -110,6 +110,10 @@ function setHome(newPath) {
6 userLogsPath = path.join(homePath, "logs");
7 clientCertificatesPath = path.join(homePath, "certificates");
9 + if (process.env.THELOUNGE_PACKAGES !== undefined) {
10 + packagesPath = process.env.THELOUNGE_PACKAGES;
11 + }
13 // Reload config from new home location
14 if (fs.existsSync(configPath)) {
15 const userConfig = require(configPath);