neomacs icon indicating copy to clipboard operation
neomacs copied to clipboard

[Feature]: Publish main (or nightlies) to eval-exec.cachix.org, not only release tags

Open worldofgeese opened this issue 2 weeks ago • 0 comments

Problem statement

eval-exec.cachix.org only receives builds of release tags (cachix-release.yml). The newest release, v0.0.20 (2026-10-24), is about 2,300 commits behind main. Several fixes that Nix users need came after it:

  • graphical client frames from a daemon that has a display ("Support graphical client frames in display-connected daemons"). In v0.0.20, emacsclient -c against a daemon fails with please set the TERM variable to your terminal type;
  • the package setupHook that puts each dependency's site-lisp on EMACSLOADPATH. Without it, nixpkgs elisp builds cannot load their dependencies (for example, evil-markdown fails with Cannot open load file: ... evil).

Building main locally means compiling the whole Rust workspace on every update. On a laptop that takes hours, which makes anything newer than the last release impractical with Nix.

Proposed solution

Publish main (or a nightly) to eval-exec.cachix.org as well as release tags, or cut releases more often.

Alternatives considered

Pinning v0.0.20 and wrapping the package to work around the missing pieces. That is what we do now: a setup hook copied from nixpkgs' GNU Emacs, a bin/emacs-31.1 link, and a -Q/--script argument fix. It works, but it forces a single GUI instance instead of a daemon.

Impact

Neomacs could be used with Doom Emacs through Nix (nix-doom-emacs-unstraightened) and Home Manager without local Rust builds, and with the current daemon.

worldofgeese avatar Nov 12 '26 14:11 worldofgeese