mail: make sure mu is native comp'd with the right emacs

This commit is contained in:
Charlotte Van Petegem 2023-08-10 16:50:28 +02:00
parent 39dc6723d5
commit 95b5b0d11c
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 5 additions and 2 deletions

View file

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

View file

@ -365,7 +365,10 @@ in
programs = { programs = {
mbsync.enable = true; mbsync.enable = true;
msmtp.enable = true; msmtp.enable = true;
mu.enable = true; mu = {
enable = true;
package = pkgs.mu.override { emacs = pkgs.emacs-pgtk; };
};
}; };
services = { services = {
imapnotify.enable = true; imapnotify.enable = true;