Daily generations of Elpa.
Daily generations of Melpa & Melpa stable attribute sets.
This overlay provides fresh versions of EXWM and dependencies. This is updated daily.
This overlay also provides a fresh version (latest from git) for Emacs. This is updated daily.
This attribute is named emacsGit
in the overlay.
Emacs from git is not guaranteed stable and may break your setup at any time, if it breaks you get to keep both pieces.
We also provide an attribute named emacsGit-nox
if you wish to have Emacs
built without X dependencies.
This overlay comes with an extra function to generate an Emacs closure from use-package
declarations.
This is an abstraction on top of emacsWithPackages
.
{
environment.systemPackages = [
(emacsWithPackagesFromUsePackage {
config = builtins.readFile ./emacs.el;
# Package is optional, defaults to pkgs.emacs
package = pkgs.emacsGit;
# Optionally provide extra packages not in the configuration file
extraEmacsPackages = epkgs: [
epkgs.cask
];
# Optionally override derivations
override = epkgs: epkgs // {
weechat = epkgs.melpaPackages.weechat.overrideAttrs(old: {
patches = [ ./weechat-el.patch ];
});
};
})
];
}
One way, and probably the most convenient way to pull in this overlay is by just fetching the tarball of latest master on rebuild.
This has side-effects if packages breaks or things like that you may want to be in control of which revision of the overlay you run.
Adding the overlay this way will extend your Emacs packages set to contain
the latest EXWM and dependencies from their respective master and make the
package emacsGit
available. These of course change quite rapidly and will
cause compilation time.
{
nixpkgs.overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz;
}))
];
}
#nixos-emacs
on freenode