Commit Graph

720 Commits

Author SHA1 Message Date
Anderson Torres
49daabdb77 nongnu-packages: updated 2023-10-22 (from overlay) 2023-10-22 23:29:04 -03:00
Anderson Torres
80c596fcf3 melpa-packages: updated 2023-10-22 (from overlay) 2023-10-22 23:29:04 -03:00
Anderson Torres
1f5b0837e3 elpa-devel-packages: updated 2023-10-22 (from overlay) 2023-10-22 23:29:04 -03:00
Anderson Torres
1c52d10361 elpa-packages: updated 2023-10-22 (from overlay) 2023-10-22 23:29:04 -03:00
Kira Bruneau
a9f0e3a465 emacsPackages.lsp-bridge: 20230607.135 -> 20231021.309 2023-10-21 00:58:10 -04:00
Anderson Torres
f4b9b0d248 emacsPackages.ebuild-mode: 1.65 -> 1.67 2023-09-17 00:27:22 +00:00
Anderson Torres
7d6f1282a4 nongnu-packages: updated 2023-09-16 (from overlay) 2023-09-17 00:27:22 +00:00
Anderson Torres
d45df06da0 melpa-packages: updated 2023-09-16 (from overlay) 2023-09-17 00:27:22 +00:00
Anderson Torres
6520416b4f elpa-devel-packages: updated 2023-09-16 (from overlay) 2023-09-17 00:27:22 +00:00
Anderson Torres
432c172d47 elpa-packages: updated 2023-09-16 (from overlay) 2023-09-17 00:27:22 +00:00
Vika
51889b299b emacs: append /run/wrappers/bin to tramp-remote-path
This fixes cd-ing to `/sudo:localhost:` in eshell and executing
commands in that eshell via TRAMP.

Test case:
1. `M-x eshell`
2. `cd /sudo:localhost:`
3. Run any command that's not an eshell builtin
2023-09-12 21:00:22 +08:00
Marco Rebhan
90fba39526 emacs: disable native compilation when cross-compiling
Also unmarks Emacs as broken in this build configuration.
2023-09-12 02:44:45 +00:00
Lin Jian
3d7fb6794e emacsPackages.ebuild-mode: switch to melpaBuild
Advantages:
- info manual is built and installed
- conform to package.el
  without any config, open a foo.ebuild file and its major-mode is set
  to ebuild-mode.
2023-09-08 03:08:17 +00:00
Weijia Wang
04942c59c8
Merge pull request #253892 from tnytown/tnytown/emacs-macport-x86-build
emacs: use `llvmPackages_14` from `apple_sdk_11_0`
2023-09-07 22:38:02 +02:00
Andrew Pan
407f8a3806
emacs: use llvmPackages_14 from apple_sdk_11_0
Fixes issues with macport x86_64 build.

Signed-off-by: Andrew Pan <a@tny.town>
2023-09-07 13:06:55 -05:00
Lin Jian
9b69878816
emacs: update the feature used for tramp-remote-path
Since Emacs 28[1], tramp-remote-path is defined in tramp.el.

[1]: https://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/net?id=695f6792f1524a446d276bf5c5e53bbb4c200909
2023-09-07 12:03:47 +08:00
Lin Jian
ac4f5079f7 emacsPackages.mu4e: init at 1.10.7
This patch packages mu4e as an Emacs lisp package based on the mu4e
output of the multiple-output package mu, which makes mu4e a good
citizen of Emacs lisp packages in two aspects.

First, mu4e now utilizes the Emacs lisp package infrastructure in
Nixpkgs.  This allows users who want to do AOT native compilation for
non-default Emacs variants[0] to build only mu4e itself instead of the
whole mu package[1].

Second, mu4e now conforms to the Emacs builtin package manager[2].
Without this patch, mu4e autoloaded commands do not work
out-of-the-box[3] because its directory is added to load-path by
site-start.el after the initialization of package-directory-list,
which causes package-activate-all to not load mu4e-autoloads.el.  This
patch fixes this issue when mu4e is installed to Emacs using the
withPackages wrapper[4].

[0]: such as emacs-pgtk
[1]: mu.override { emacs = emacs-pgtk; }
[2]: package.el
[3]: either (require 'mu4e) or (require 'mu4e-autoloads) is needed to
be called before an autoloaded command is called
[4]: emacs-pgtk.pkgs.withPackages (epkgs: [ epkgs.mu4e ])
2023-09-06 16:27:13 +00:00
Lin Jian
35ccb9db3f build-support/emacs: make version non-optional
I do not think there is a good reason for it to be optional.

There were only two packages without a version attr.  The version attr
is added to them in this patch.
2023-09-06 02:24:07 +00:00
Mario Rodas
bdce9a2bc2 emacs: fix build on x86_64-darwin 2023-09-02 04:20:00 +00:00
Lucas Franceschino
0efb400ade emacs: add missing libXi dependency when enabling withXinput2
Without libXi, the configure flag `--with-xinput2` has no effect.

This can be verified by looking up the variable `system-configuration-features` in Emacs.
2023-09-01 13:30:27 +00:00
Andrew Pan
0f4255bf11 emacs: fix env shallow merge
Fixes regression caused by #252244.

`env` was first defined in its own attrset, which was merged with a
second attrset:

```nix
...
{
   env = {
     NATIVE_FULL_AOT = "1";
     LIBRARY_PATH = lib.concatStringsSep ":" libGccJitLibraryPaths;
   };
} // {
...
   env.NIX_CFLAGS_COMPILE = ...
...
}
```

In this situation, the `env` from the first attrset is not preserved,
since `//` does a shallow merge.

Signed-off-by: Andrew Pan <a@tny.town>
2023-08-31 19:22:47 +00:00
Andrew Pan
f607a78516 emacs-macport: build on LLVM 14
- Build on `apple_sdk_11_0` to support `aarch64-darwin`
- Add frameworks required for building on newer SDKs
  - `Accelerate`, `UniformTypeIdentifiers`
- Include header to work around `CF_NOESCAPE` issue circa LLVM 7.0
2023-08-31 14:20:27 +00:00
Anderson Torres
8761b1475b nongnu-packages: updated 2023-08-26 (from overlay) 2023-08-29 10:41:54 +00:00
Anderson Torres
9e2d98584d melpa-packages: updated 2023-08-26 (from overlay) 2023-08-29 10:41:54 +00:00
Anderson Torres
d751b58f99 elpa-devel-packages: updated 2023-08-26 (from overlay) 2023-08-29 10:41:54 +00:00
Anderson Torres
eff18386fe elpa-packages: updated 2023-08-26 (from overlay) 2023-08-29 10:41:54 +00:00
Lin Jian
7d4ea94d02 emacs: keep the default first writable native-comp-eln-load-path dir
Fixes https://github.com/NixOS/nixpkgs/issues/247804.
2023-08-28 15:46:04 +00:00
Lin Jian
2d324ed8f9 emacs: fix the detection of native compilation for Emacs 29
In Emacs 29, feature comp does not load early enough.  We use
native-compile instead.  This is also what Emacs uses[1].

[1]: https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/startup.el?id=3685387e609753293c4518be75e77c659c3b2d8d#n586
2023-08-28 15:46:04 +00:00
Lin Jian
1506ab49e3 emacs: correct the order of profiles and their sub dirs in load-path
This patch does two things:
1. making user profiles preferred over system profiles
2. putting sub dirs of one profile to the right place
  - before this patch, they are appended to the end of load-path
  - after this patch, they are inserted right after the profile

Example value of load-path before this patch:

  /run/current-system/sw/share/emacs/site-lisp/
  /etc/profiles/per-user/user/share/emacs/site-lisp/
  /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp
  /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp/elpa
  /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp/elpa/wgrep-20230203.1214
  /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/site-lisp
  /nix/store/hash2-emacs-29.1-rc1/share/emacs/site-lisp
  /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/lisp
  /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/lisp/vc
  ...
  /etc/profiles/per-user/user/share/emacs/site-lisp/elpa
  /etc/profiles/per-user/user/share/emacs/site-lisp/elpa/jinx-20230730.1200
  /run/current-system/sw/share/emacs/site-lisp/elpa
  /run/current-system/sw/share/emacs/site-lisp/elpa/repology-1.2.3

after this patch:

  /etc/profiles/per-user/user/share/emacs/site-lisp
  /etc/profiles/per-user/user/share/emacs/site-lisp/elpa
  /etc/profiles/per-user/user/share/emacs/site-lisp/elpa/jinx-20230730.1200
  /run/current-system/sw/share/emacs/site-lisp
  /run/current-system/sw/share/emacs/site-lisp/elpa
  /run/current-system/sw/share/emacs/site-lisp/elpa/repology-1.2.3
  /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp
  /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp/elpa
  /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp/elpa/wgrep-20230203.1214
  /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/site-lisp
  /nix/store/hash2-emacs-29.1-rc1/share/emacs/site-lisp
  /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/lisp
  /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/lisp/vc
  ...
2023-08-28 15:46:04 +00:00
Daniel Nagy
1159c64f58
emacsPackages.pikchr-mode: replace program 2023-08-27 09:15:00 +02:00
Mario Rodas
a153adf6cc
Merge pull request #251201 from nagy/emacs-typst-mode
emacsPackages.typst-mode: replace program
2023-08-26 11:35:19 -05: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
Daniel Nagy
faeb7ac63a
emacsPackages.typst-mode: replace program 2023-08-26 16:30:00 +02:00
Anthony Cowley
9b3fefd37d elpa-devel-packages: build xeft dynamic module
Build the native dynamic module required by the xeft package for Emacs.
2023-08-24 03:26:59 +00:00
Anthony Cowley
6dd389dd9f elpa-packages: build xeft dynamic module
Build the native dynamic module required by the xeft package for Emacs.
2023-08-24 03:26:59 +00:00
Anderson Torres
473e81ede4 emacs: better glib-networking detection
Fixes https://github.com/NixOS/nixpkgs/issues/249756
2023-08-18 11:58:47 +00:00
Anderson Torres
68f38d4634 emacsPackages.consult-gh: init at 20230706.438 2023-08-15 12:48:06 +00:00
Anderson Torres
e270bfe914 emacsPackages.power-mode: remove
Because it was MELPA'd.
2023-08-15 12:48:06 +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
Lin Jian
de24b1e3b1 emacs.pkgs.eglot: build info manual 2023-08-08 18:53:47 +00:00
Anderson Torres
065a7ed424 nongnu-packages: updated 2023-08-06 (from overlay) 2023-08-08 11:38:19 +00:00
Anderson Torres
c23bd886e1 melpa-packages: updated 2023-08-06 (from overlay) 2023-08-08 11:38:19 +00:00
Anderson Torres
deb0c58086 elpa-devel-packages: updated 2023-08-06 (from overlay) 2023-08-08 11:38:19 +00:00
Anderson Torres
e07cb46e21 elpa-packages: updated 2023-08-06 (from overlay) 2023-08-08 11:38:19 +00:00
Austin Horstman
58920127ca
treewide: add meta.mainProgram to editors 2023-08-04 11:44:05 -05:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00: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