diff options
author | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-04-23 16:53:11 -0700 |
---|---|---|
committer | Parthiv Seetharaman <pachum99@myrdd.info> | 2022-04-23 16:56:38 -0700 |
commit | df7f0eec6adc2d503caeaa0a05d5d1d653654c95 (patch) | |
tree | c7d7c85485c91a69ab4b38ed5f5618c6b1865bb0 | |
parent | eb1b483e073f56901b80c7061a4772576b3468e1 (diff) |
use meta.mainProgram before pname to infer command
-rw-r--r-- | modules/matrix-appservices/as-formats.nix | 2 |
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 = '' |