diff options
| author | Elias Probst <mail@eliasprobst.eu> | 2021-06-05 00:57:29 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2021-06-18 09:47:42 +0000 |
| commit | 5941f109e89d3cbca48b440ee10cf4de36a87058 (patch) | |
| tree | b2f4138f8701409e1f88531aa782aed4039a931c | |
| parent | kmail: nixpkgs-fmt + sort items (diff) | |
| download | nixpkgs-5941f109e89d3cbca48b440ee10cf4de36a87058.tar.gz | |
kmail: fix calling ext. applications
KMail relies on quite a few external applications, such as:
- kaddressbook
- akonadiimportwizard
- accountwizard
- akonadiselftest
Without those, quite a few core functionalities of KMail aren't available, such as:
- adding a new account to KMail
- using the addressbook for sending a mail
- importing existing PIM data
- analyzing Akonadi issues
Fixed by adding those components to kmail's wrapper's PATH.
(cherry picked from commit a7d4733b751667306e310c7e86f5a41225f04b29)
| -rw-r--r-- | pkgs/applications/kde/kmail.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/kde/kmail.nix b/pkgs/applications/kde/kmail.nix index 3f1b9f8f3c22..ed051d631b3c 100644 --- a/pkgs/applications/kde/kmail.nix +++ b/pkgs/applications/kde/kmail.nix @@ -1,8 +1,10 @@ { mkDerivation , lib , akonadi +, akonadi-import-wizard , akonadi-search , extra-cmake-modules +, kaddressbook , kbookmarks , kcalutils , kcmutils @@ -20,6 +22,7 @@ , kinit , kio , kldap +, kleopatra , kmail-account-wizard , kmailtransport , knotifications @@ -40,6 +43,7 @@ , libsecret , mailcommon , messagelib +, pim-data-exporter , pim-sieve-editor , qtkeychain , qtscript @@ -92,6 +96,14 @@ mkDerivation { qtkeychain qtscript qtwebengine + akonadi-import-wizard + kaddressbook + kleopatra + pim-data-exporter ]; propagatedUserEnvPkgs = [ kdepim-runtime kwallet akonadi ]; + postFixup = '' + wrapProgram "$out/bin/kmail" \ + --prefix PATH : "${lib.makeBinPath [ akonadi akonadi-import-wizard kaddressbook kleopatra kmail-account-wizard pim-data-exporter ]}" + ''; } |
