https://github.com/cmacrae/emacs
Nightly custom Emacs builds for macOS Nix environments
https://github.com/cmacrae/emacs
automated darwin emacs macos nightly nix
Last synced: over 1 year ago
JSON representation
Nightly custom Emacs builds for macOS Nix environments
- Host: GitHub
- URL: https://github.com/cmacrae/emacs
- Owner: cmacrae
- License: mit
- Created: 2021-05-06T19:41:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-22T14:18:02.000Z (almost 3 years ago)
- Last Synced: 2025-03-17T18:35:02.763Z (over 1 year ago)
- Topics: automated, darwin, emacs, macos, nightly, nix
- Language: Nix
- Homepage:
- Size: 244 KB
- Stars: 41
- Watchers: 4
- Forks: 17
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nightly custom Emacs builds for macOS Nix environments
[](https://github.com/cmacrae/emacs/actions/workflows/build.yaml)
[](https://builtwithnix.org)
[](https://app.cachix.org/cache/emacs)
[](http://git.savannah.gnu.org/cgit/emacs.git/log/)
This repository provides nightly automated builds of Emacs from HEAD for macOS Nix environments with the following additions:
- Native Compilation ([gccemacs](https://www.emacswiki.org/emacs/GccEmacs))
- [X Widgets](https://www.emacswiki.org/emacs/EmacsXWidgets) (Webkit) support
- [libvterm](https://github.com/akermu/emacs-libvterm)
- Patched window role to work nicely with [yabai](https://github.com/koekeishiya/yabai)
## Recent Changes
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`):
```emacs-lisp
(add-to-list 'default-frame-alist '(undecorated . t))
```
See https://github.com/d12frosted/homebrew-emacs-plus/issues/433#issuecomment-1025547880 for further background.
## Usage
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](https://app.cachix.org/cache/emacs) available which is pushed to nightly.
```nix
{
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
];
}
];
};
};
}
```