This repository provides nightly automated builds of Emacs from HEAD for macOS Nix environments with the following additions:
- Native Compilation (gccemacs)
- X Widgets (Webkit) support
- libvterm
- Patched window role to work nicely with yabai
The no-titlebar
frame patch has been removed, as it can be implemented with
pure Emacs Lisp by putting the following early on during initialization (e.g. in
early-init.el
):
(add-to-list 'default-frame-alist '(undecorated . t))
See d12frosted/homebrew-emacs-plus#433 (comment) for further background.
To use this flake on your system, add it to your configuration inputs & overlays.
It overlays the pkgs.emacs
package.
There is a complimentary binary cache available which is pushed to nightly.
{
inputs.darwin.url = "github:lnl7/nix-darwin";
inputs.emacs.url = "github:cmacrae/emacs";
outputs = { self, darwin, emacs }: {
darwinConfigurations.example = darwin.lib.darwinSystem {
modules = [
{
nix.binaryCaches = [
"https://cachix.org/api/v1/cache/emacs"
];
nix.binaryCachePublicKeys = [
"emacs.cachix.org-1:b1SMJNLY/mZF6GxQE+eDBeps7WnkT0Po55TAyzwOxTY="
];
nixpkgs.overlays = [
emacs.overlay
];
}
];
};
};
}