about summary refs log tree commit diff
path: root/pkgs/applications/networking/irc/thelounge/packages-path.patch
blob: eb1ded070536d4e27824bd2ba6d23727f1c9c3eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/server/config.ts b/server/config.ts
index 543a8135..9744f00d 100644
--- a/server/config.ts
+++ b/server/config.ts
@@ -145,7 +145,7 @@ class Config {
 	}
 
 	getPackagesPath() {
-		return path.join(this.#homePath, "packages");
+		return process.env.THELOUNGE_PACKAGES || path.join(this.#homePath, "packages");
 	}
 
 	getPackageModulePath(packageName: string) {