Commit Graph

752 Commits

Author SHA1 Message Date
Tony Zorman
4a6045a41b emacs: Use lib.withFeature
As discussed in [1], this improves readability.

Not all --with options have a corresponding --without (and vice-versa),
but Emacs's configure script can endure this. Additionally, this
"encodes" the default options in system-configuration-options.

[1]: https://github.com/NixOS/nixpkgs/pull/267946#issuecomment-1815394037
2023-12-03 20:25:34 +01:00
Brian Leung
396b66da33 llvm-mode: update src location
The directory structure of LLVM seems be handled differently in the
most recent checkout of nixpkgs.
2023-11-25 20:09:51 -03:00
Mario Rodas
2fe134dae2 emacsPackages.pq: build dynamic module 2023-11-25 04:20:00 +00:00
Mario Rodas
96ca129160 emacsPackages.hotfuzz: build dynamic library 2023-11-23 04:20:00 +00:00
Mario Rodas
3f86ee22eb emacsPackages.xapian-lite: init at 2.0.0 2023-11-23 04:20:00 +00:00
sternenseemann
6a096e1499 emacs.pkgs.ada-mode: fix installPhase
The invocation of the install.sh script changed in 8.1.0 or 8.0 to no
longer accept the --prefix flag, instead the path needs to be given as
the first argument alone.
2023-11-22 17:23:33 +01:00
Brian Leung
d1579a08ec emacs: remove backwards-compatibility aliases 2023-11-22 09:25:50 -03:00
Payas Relekar
62133d3b9a nongnu-packages: updated 2023-11-16 (from overlay) 2023-11-19 17:10:52 -03:00
Payas Relekar
ca129aaa3a melpa-packages: updated 2023-11-16 (from overlay) 2023-11-19 17:10:52 -03:00
Payas Relekar
a7a1cd3019 elpa-devel-packages: updated 2023-11-16 (from overlay) 2023-11-19 17:10:52 -03:00
Payas Relekar
0fa6b3b73a elpa-packages: updated 2023-11-16 (from overlay) 2023-11-19 17:10:52 -03:00
adisbladis
8374287cd2
Merge pull request #267946 from slotThe/emacs/no-compression
emacs: Add withCompressInstall flag
2023-11-18 22:31:45 +13:00
Tony Zorman
e84c8db9a5 emacs: Add withCompressInstall flag
When enabled (the default), Emacs compresses its files (.c, .el, .info,
and so on) before installing them.

Disabling the option with `withCompressInstall = false` results in the
suppression of that compression step. This increases disk space, but is
slightly faster for some operations; Emacs does not have to decompress
these files on the fly when, for example, jumping to the definition of a
built-in function.
2023-11-17 13:28:28 +01:00
adisbladis
3ed08b196e
Merge pull request #268010 from brahyerr/el-easydraw_init
emacsPackages.el-easydraw: init at 1.1.0
2023-11-17 21:47:30 +13:00
Adam Joseph
c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
brahyerr
b6c86f9a93 emacsPackages.el-easydraw: init at 1.1.0 2023-11-16 21:35:15 -05:00
Lin Jian
a889e9049d
Merge pull request #267017 from slotThe/master
emacs: Add withSmallJaDic flag
2023-11-14 18:44:16 +08:00
Tony Zorman
d2c3b7799a emacs: Add withSmallJaDic flag
Quoting from the Emacs 29 release notes:

> Building Emacs includes generation of a Japanese dictionary, which is
> used by Japanese input methods.  Previously, the build included a step
> of reducing the size of this dictionary's vocabulary.  This vocabulary
> reduction is now optional, by default off.  If you need the Emacs
> build to include the vocabulary reduction, configure Emacs with the
> option '--with-small-ja-dic'.
2023-11-13 07:43:21 +01:00
Anderson Torres
4a84d357b3 nongnu-packages: updated 2023-11-10 (from overlay) 2023-11-11 16:47:35 -03:00
Anderson Torres
2881bede15 melpa-packages: updated 2023-11-10 (from overlay) 2023-11-11 16:47:35 -03:00
Anderson Torres
3b84cfd745 elpa-devel-packages: updated 2023-11-10 (from overlay) 2023-11-11 16:47:35 -03:00
Anderson Torres
9de8336e13 elpa-packages: updated 2023-11-10 (from overlay) 2023-11-11 16:47:35 -03:00
Tomas Antonio Lopez
6f06a5e83a emacsPackages.notdeft: init at 20211204.0846 2023-11-09 12:51:25 +01:00
Mario Rodas
4cf1497565 emacsPackages.lspce: init at unstable-2023-10-30 2023-11-05 04:20:00 +00:00
adisbladis
0a040b6fbf
Merge pull request #264588 from acowley/osx-dictionary
melpa-packages: build osx-dictionary helper executable
2023-11-01 11:14:48 +13:00
Anthony Cowley
86e4d00f30 melpa-packages: build osx-dictionary helper executable
The `osx-dictionary` emacs package tries to build a helper executable
if it is not found at runtime. This fails with `nix` installations of
the package, so we build it at build time.
2023-10-31 09:32:59 -04:00
Anderson Torres
0cbe9f69c2 nongnu-packages: updated 2023-10-28 (from overlay) 2023-10-29 17:30:40 -03:00
Anderson Torres
9e12287efb melpa-packages: updated 2023-10-28 (from overlay) 2023-10-29 17:30:40 -03:00
Anderson Torres
2447435c76 elpa-devel-packages: updated 2023-10-28 (from overlay) 2023-10-29 17:30:40 -03:00
Anderson Torres
69d9a16a3c elpa-packages: updated 2023-10-28 (from overlay) 2023-10-29 17:30:40 -03:00
Anderson Torres
b2fae2486e emacs: small rewrite 2023-10-29 17:30:40 -03:00
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
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