Commit Graph

12 Commits

Author SHA1 Message Date
Anderson Torres
1fa1861e2e emacs: move generic.nix to make-emacs.nix
It is a better name for this file, after all.
2023-10-29 17:30:40 -03:00
Anderson Torres
f6a6dc801f emacs: refactor
- Remove the excessive repetition of inherited packages
- Factor the excessive repetition of metadata in sources.nix
2023-08-26 16:21:58 +00:00
Anderson Torres
2160abc3ed emacs29-macport: init at 29.1 2023-08-10 23:45:09 -03:00
Anderson Torres
05d277b11e emacs29: 29.1-rc1 -> 29.1 2023-08-10 23:45:09 -03:00
Anderson Torres
7e445b6d72 emacs: factor meta 2023-08-10 23:45:04 -03:00
Anderson Torres
ae4e2e8676 emacs28-macport: rename from emacs-macport
Also, move emacsMacport to aliases.nix.
2023-08-10 22:47:13 -03:00
Austin Horstman
58920127ca
treewide: add meta.mainProgram to editors 2023-08-04 11:44:05 -05:00
Mario Rodas
503c869a42 emacs29: 29.0.92 -> 29.1-rc1
Changelog: https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29

Release Notes: https://lists.gnu.org/archive/html/emacs-devel/2023-07/msg00704.html
2023-07-23 04:20:00 +00:00
Anderson Torres
a062bf3d8e emacs: factor meta
Because metadata pertains to the source code variants, not to the build logic.
2023-07-07 00:23:47 -03:00
pancho horrillo
dcbae5b0aa
emacs29: 29.0.91 -> 29.0.92 (both pretest)
The new pretest was recently made available¹.

[1]: https://lists.gnu.org/archive/html/emacs-devel/2023-06/msg00503.html
2023-06-20 11:48:08 +02:00
Anderson Torres
3d43f48a93 emacs29: init at 20.0.91
Given that Emacs 29 is considered beta, it will not be aliased to `emacs`.
And, given that Emacs 29 ships with Pure GTK feature, why not to make it
available?
2023-05-29 22:23:52 -03:00
Anderson Torres
c4e48ded59 emacs: a huge refactor
A list of modifications:

- The calling handles at `top-level/all-packages.nix` were transferred to
`pkgs/applications/editors/emacs/default.nix` (the good old `recurseIntoAttrs`
design pattern);
- The files `macport.nix` and `28.nix` were removed, replaced by the bigger and
better `sources.nix`;
- Aliases for the most important derivations were put on `all-packages.nix`;
- The file `generic.nix` was refactored. Among its changes, the most noticeable:
  - `pname` is decorated according to the selected UI options;
  - Environment variables are explicitly under `env` set;
  - The `null` defaults and (in)equality tests were removed;
    - It obliged the addition of some Boolean flag guards;
  - The flag `noGui` was added, allowing easier override for `emacs-nox`.

With this huge refactor, the emacs build functions become more sane and
maintainable, allowing future additions.
2023-05-29 22:16:45 -03:00