Add mu4e epkgs patch and use it

This commit is contained in:
Charlotte Van Petegem 2023-09-06 14:52:58 +02:00
parent f43162eed7
commit 8eb59c601f
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 143 additions and 2 deletions

View file

@ -18,8 +18,7 @@
config = config.chvp.base.emacs.fullConfig;
package = pkgs.emacs-pgtk;
alwaysEnsure = true;
# mu4e is included in the mu package and should be used from there
extraEmacsPackages = epkgs: lib.optional config.chvp.graphical.mail.enable (pkgs.mu.override { emacs = pkgs.emacs-pgtk; });
extraEmacsPackages = epkgs: lib.optional config.chvp.graphical.mail.enable epkgs.mu4e;
};
};
};