summaryrefslogtreecommitdiff
path: root/modules/matrix-appservices/as-formats.nix
diff options
context:
space:
mode:
authorParthiv Seetharaman <pachum99@myrdd.info>2022-04-23 16:53:11 -0700
committerParthiv Seetharaman <pachum99@myrdd.info>2022-04-23 16:56:38 -0700
commitdf7f0eec6adc2d503caeaa0a05d5d1d653654c95 (patch)
treec7d7c85485c91a69ab4b38ed5f5618c6b1865bb0 /modules/matrix-appservices/as-formats.nix
parenteb1b483e073f56901b80c7061a4772576b3468e1 (diff)
use meta.mainProgram before pname to infer command
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 = ''