feat(emacs): Pin EXWM to 0.18

There are several severe regressions from EXWM 0.15 to EXWM 0.17. This
commit pins the version to the somewhat newer 0.18 in hope that it
resolves those issues again.
This commit is contained in:
Vincent Ambo 2018-04-22 13:18:20 +02:00
parent 79ce1dc693
commit 7c581e4f64
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Derivation for Emacs configured with the packages that I need:
{ pkgs ? import <nixos> {} }:
{ pkgs }:
let emacsWithPackages = with pkgs; (emacsPackagesNgGen emacs).emacsWithPackages;
sly = with pkgs; emacsPackagesNg.melpaBuild {
@ -59,13 +59,15 @@ nix-mode = with pkgs; emacsPackagesNg.melpaBuild {
};
in emacsWithPackages(epkgs:
# Pinned packages:
(with pkgs.pinnedEmacs; [ exwm ]) ++
# Actual ELPA packages (the enlightened!)
(with epkgs.elpaPackages; [
ace-window
adjust-parens
avy
company
exwm
pinentry
rainbow-mode
undo-tree

View file

@ -28,6 +28,8 @@ in {
kontemplate = unstable.kontemplate;
mq-cli = unstable.mq-cli;
# Override EXWM from 0.17 -> 0.18
pinnedEmacs.exwm = unstable.emacsPackagesNg.elpaPackages.exwm;
};
};