mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
41bb263d28
Upstream switched to using TypeScript in v4.4.0, which broke the patch. This fixes that issue by migrating to building The Lounge from source, instead of having to patch the minified JavaScript.
14 lines
374 B
Diff
14 lines
374 B
Diff
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) {
|