about summary refs log tree commit diff
path: root/pkgs/applications/networking/irc/thelounge/packages-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/irc/thelounge/packages-path.patch')
-rw-r--r--pkgs/applications/networking/irc/thelounge/packages-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/applications/networking/irc/thelounge/packages-path.patch b/pkgs/applications/networking/irc/thelounge/packages-path.patch
new file mode 100644
index 000000000000..eb1ded070536
--- /dev/null
+++ b/pkgs/applications/networking/irc/thelounge/packages-path.patch
@@ -0,0 +1,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) {