summaryrefslogtreecommitdiff
path: root/modules/matrix-appservices/as-formats.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/matrix-appservices/as-formats.nix')
-rw-r--r--modules/matrix-appservices/as-formats.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/matrix-appservices/as-formats.nix b/modules/matrix-appservices/as-formats.nix
index fa7a4cf..0f4e7c2 100644
--- a/modules/matrix-appservices/as-formats.nix
+++ b/modules/matrix-appservices/as-formats.nix
@@ -7,7 +7,7 @@ let
homeserverDomain;
package = asConfig.package;
pname = getName package;
- command = "${package}/bin/${pname}";
+ command = "${package}/bin/${package.meta.mainProgram or pname}";
mautrix = {
startupScript = ''