regadas / emacs

Nightly custom Emacs builds for macOS Nix environments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nightly custom Emacs builds for macOS Nix environments

CI badge BuiltWithNix badge Cachix badge Emacs badge

This repository provides nightly automated builds of Emacs from HEAD for macOS Nix environments with the following additions:

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):

(add-to-list 'default-frame-alist '(undecorated . t))

See d12frosted/homebrew-emacs-plus#433 (comment) 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 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
          ];
        }
      ];
    };
  };
}

About

Nightly custom Emacs builds for macOS Nix environments

License:MIT License


Languages

Language:Nix 100.0%