emacs: Fix emacs-daemon crashes.
This commit is contained in:
parent
3791e05369
commit
7c6454d95b
1 changed files with 10 additions and 1 deletions
|
@ -402,7 +402,16 @@ in
|
||||||
concatMap (v: getPkg (v.package))
|
concatMap (v: getPkg (v.package))
|
||||||
(builtins.attrValues cfg.usePackage)
|
(builtins.attrValues cfg.usePackage)
|
||||||
);
|
);
|
||||||
machine.pkgsets.emacs.pkgwrap = (pkgs.emacsWithPackages config.machine.pkgsets.emacs.pkgs);
|
|
||||||
|
# use lucid as toolkit; emacs will otherwise crash quite frequently when run in daemon mode
|
||||||
|
# https://gitlab.gnome.org/GNOME/gtk/issues/221
|
||||||
|
machine.pkgsets.emacs.pkgwrap = let
|
||||||
|
emacsWithPackages = (pkgs.emacsPackagesFor
|
||||||
|
(pkgs.emacs.override {
|
||||||
|
withGTK2 = false;
|
||||||
|
withGTK3 = false;
|
||||||
|
})).emacsWithPackages;
|
||||||
|
in (emacsWithPackages config.machine.pkgsets.emacs.pkgs);
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
((pkgs.emacsPackagesNgGen config.machine.pkgsets.emacs.pkgwrap).trivialBuild {
|
((pkgs.emacsPackagesNgGen config.machine.pkgsets.emacs.pkgwrap).trivialBuild {
|
||||||
|
|
Loading…
Reference in a new issue