refactor(emacs): Use unstable channel directly in emacs module
Stores the unstable channel in the global package set to make it available in the emacs module. All emacs-related packages are now taken from the unstable channel. Related changes: * prescient is now built directly from git * sly has been (temporarily) removed because the MELPA recipe is failing Unfortunately the version bumps to prescient and ivy (& its related packages) don't seem to help with raxod502/prescient.el#10
This commit is contained in:
parent
24314a61d6
commit
b1d45f5b76
2 changed files with 45 additions and 73 deletions
19
packages.nix
19
packages.nix
|
|
@ -33,26 +33,15 @@ in {
|
|||
# To use the pinned channel, the original package set is thrown
|
||||
# away in the overrides:
|
||||
config.packageOverrides = oldPkgs: stable // {
|
||||
# Store whole unstable channel in case that other modules need
|
||||
# it (see emacs.nix for example):
|
||||
inherit unstable;
|
||||
|
||||
wallpapers = import ./pkgs/wallpapers.nix;
|
||||
pulseaudio-ctl = import pkgs/pulseaudio-ctl.nix;
|
||||
|
||||
kontemplate = unstable.kontemplate;
|
||||
mq-cli = unstable.mq-cli;
|
||||
|
||||
# Override various Emacs packages from unstable:
|
||||
pinnedEmacs = with unstable.emacsPackagesNg; {
|
||||
inherit
|
||||
counsel
|
||||
counsel-tramp
|
||||
exwm
|
||||
ivy
|
||||
ivy-gitlab
|
||||
ivy-hydra
|
||||
ivy-pass
|
||||
markdown-mode
|
||||
markdown-toc
|
||||
swiper;
|
||||
};
|
||||
emacs = unstable.emacs; # emacs 26.1
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue