Commit Graph

595 Commits

Author SHA1 Message Date
yuzukicat
aa410839cd
emacsPackages.mind-wave packaging 2023-03-23 11:26:00 +09:00
Ted Reed
2e29c38ec4 emacs.pkgs.project: Use project from elpa
The version of project on ELPA has now moved well beyond what was
available in emacs 28, and packages such as eglot are depending on
these newer versions.
2023-03-18 08:04:29 -03:00
Bernardo Meurer
6e55733359
Merge pull request #219747 from Stunkymonkey/deprecate-isNull 2023-03-16 11:10:22 -03:00
Chris Hodapp
1a8edfe192
emacs: Add basic tree-sitter support (#219559)
This commit adds basic support for tree-sitter in the emacs build,
such that (if the user opts into tree-sitter support), tree-sitter
will be enabled and binary library files for tree-sitter can be
included in the `lib` directory of packages passed to
`emacsWithPackages`. The libraries will be aggregated and included in
treesit-extra-load-path.

The previous pattern for this in the community was to add tree-sitter
libaries by patching emacs's `RUNPATH` with `patchelf` in a post-fixup
phase. However, this has the substantial drawback that two different
emacs installations with different lists of available tree-sitter
libraries must be entirely separate builds. By supplying the
tree-sitter libraries in the wrapping layer of `emacsWithpackages`, it
becomes possible to share a single, more-cacheable "core emacs".

This support defaults to "on" only in emacs 29 and up, since previous
versions do not support tree-sitter out of the box.
2023-03-15 16:51:29 +13:00
Kira Bruneau
2f0762e173
Merge pull request #220529 from kira-bruneau/emacsPackages.acm-terminal
emacsPackages.acm-terminal: init at 20230215.414
2023-03-12 11:24:01 -04:00
Kira Bruneau
38377899d2
Merge pull request #219993 from kira-bruneau/emacsPackages.lsp-bridge
emacsPackages.lsp-bridge: init at 20230309.554
2023-03-12 11:23:12 -04:00
Kira Bruneau
08916245bd emacsPackages.acm-terminal: init at 20230215.414 2023-03-12 10:17:44 -04:00
Kira Bruneau
861156414d emacsPackages.lsp-bridge: init at 20230309.554 2023-03-12 10:17:44 -04:00
Anderson Torres
fe12faba4d Revert "Merge pull request #217317 from atorres1985-contrib/remove-bqn-mode"
This reverts commit aff38799b1, reversing
changes made to 573ed79d1b.

According to the bug reported at
https://github.com/NixOS/nixpkgs/pull/217317#issuecomment-1458621144, the Emacs
package ligo-mode returns an unexpected hash.
2023-03-09 07:21:35 -03:00
Kira Bruneau
525aff3ab3 elisp-packages/manual-packages.nix: use self-scoped callPackage 2023-03-07 07:51:42 -05:00
Felix Buehler
d10e69c86b treewide: deprecate isNull
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
2023-03-06 22:40:04 +01:00
adisbladis
7fbb029fb2
Merge pull request #219469 from linyinfeng/emacs-rime
emacsPackages.rime: precompile librime-emacs.so
2023-03-06 09:48:05 +13:00
Anderson Torres
451dfa6d84 elisp-packages/manual-packages.nix: get rid of with
As related in https://nix.dev/anti-patterns/language#with-attrset-expression:

- Static analysis can’t reason about the code, because it would have to actually
  evaluate this file to see what variables are in scope;

- As soon as there are two with used, it’s not clear anymore from which the
  variables are coming from;

- Scoping rules around with are not intuitive. Examples:
  - https://github.com/NixOS/nix/issues/490
  - eea78e554e
2023-03-05 13:17:08 -03:00
Anderson Torres
e72f4061e5 emacs.pkgs.bqn-mode: remove
Now bqn-mode is provided by MELPA, and can be retrieved automagically.
2023-03-04 21:25:06 -03:00
Anderson Torres
f31c5fb91f nongnu-packages: updated 2023-03-04 (from overlay) 2023-03-04 21:25:06 -03:00
Anderson Torres
3baf060048 melpa-packages: updated 2023-03-04 (from overlay) 2023-03-04 21:25:05 -03:00
Anderson Torres
5b679da45e elpa-packages: updated 2023-03-04 (from overlay) 2023-03-04 21:25:05 -03:00
Lin Yinfeng
aae16eef48
emacsPackages.rime: precompile librime-emacs.so 2023-03-04 18:03:26 +08:00
Sebastian Wild
fba2ff4c5a
emacs.pkgs.melpaStablepackages.emacsql: Add sqlite as dependency 2023-02-24 11:50:44 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Anderson Torres
297ba7ca32 melpa-packages: updated 2023-02-21 (from overlay) 2023-02-21 20:05:28 -03:00
Anderson Torres
7503c1d701 elpa-packages: updated 2023-02-21 (from overlay) 2023-02-21 20:05:26 -03:00
Anderson Torres
dd1e49424f melpa-packages: updated 2023-02-21 (from overlay) 2023-02-21 08:03:50 -03:00
Anderson Torres
985265c451 elpa-packages: updated 2023-02-21 (from overlay) 2023-02-21 08:03:50 -03:00
Anderson Torres
ec82b6a6e2 nongnu-packages: updated 2023-02-20 (from overlay) 2023-02-21 08:01:28 -03:00
Anderson Torres
42556e233d melpa-packages: updated 2023-02-20 (from overlay) 2023-02-21 08:01:28 -03:00
Anderson Torres
c93adad021 elpa-packages: updated 2023-02-20 (from overlay) 2023-02-21 08:01:28 -03:00
Kim Lindberger
f4c4c9825a
Merge pull request #215647 from DamienCassou/emacs-melpa-epkg-sqlite
emacs.pkgs.melpaStablepackages.epkg: Add sqlite as dependency
2023-02-10 17:17:04 +01:00
Damien Cassou
be8dcd6bbf
emacs.pkgs.melpaStablepackages.epkg: Add sqlite as dependency 2023-02-10 08:47:41 +01:00
Mario Rodas
6bb4f0f103 emacs: use mkDerivation with finalAttrs
This will help the emacs overlays to correctly apply the native
compilation patch.
2023-02-04 04:20:00 +00:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Benjamin Orthen
b0850654ec emacsPackages.control-lock: use trivialBuild and correct src
Use trivialBuild instead of mkDerivation. Correct package src to link to
    raw file and and use correct hash.
2023-01-19 13:40:32 +01:00
Benjamin Orthen
210c48b466 emacsPackages.perl-completion: fix evaluation and mark as broken
perl-completion (https://www.emacswiki.org/emacs/perl-completion.el)
    depends on anything.el which is not in emacsPackages and has not
    seen any updates since 2017
2023-01-18 23:58:37 +01:00
Artturin
2eeb34c273 treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
Guillaume Girol
df6a7e941a treewide: use bindgenhook where possible 2022-12-06 19:26:14 +01:00
adisbladis
879ad4a4c5
Merge pull request #204077 from r-ryantm/auto-update/emacs-ebuild-mode
emacsPackages.ebuild-mode: 1.60 -> 1.61
2022-12-03 02:18:35 +13:00
R. Ryantm
443c70789b emacsPackages.ebuild-mode: 1.60 -> 1.61 2022-12-02 09:49:52 +00:00
Sergei Trofimovich
8f88cd3f7a emacs: drop unused xlibsWrapper 2022-12-01 23:54:14 +00:00
Brian Leung
8ede52a7c1
emacs: change substituteInPlace invocation to an aligning patch
Commit 97b928ce09d6034ebcb541fb548e5d4862302add in Emacs
messed up the substituteInPlace. Use a patch instead to prevent silent failures.

https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=97b928ce09d6034ebcb541fb548e5d4862302add
2022-11-30 11:37:12 -08:00
Brian Leung
6dbbe21770
emacs: override built-in cl-print as null 2022-11-28 12:20:29 -08:00
Lassulus
88238ce44a
Merge pull request #201182 from thblt/image-format-libs-for-pgtk-emacs
emacs: build pgtk variant with full image support
2022-11-23 23:48:19 +01:00
Thibault Polge
b42d97f572
emacs: build pgtk variant with full image support
Emacs built with pgtk ("pure gtk") isn't X, so `withX` isn't true.
This commit extends the test conditions for format libraries inclusion
to withX || withPgtk, so Pgtk Emacs gets image format support
libraries as well.

Co-authored-by: Atemu <atemu.main@gmail.com>
2022-11-22 07:29:44 +01:00
AndersonTorres
25e04fc2b5 perl-completion: rewrite 2022-11-19 20:16:26 -03:00
AndersonTorres
e492d287b5 emacs manual-packages.nix: remove redundant nano-theme 2022-11-19 20:08:11 -03:00
AndersonTorres
75519d54a0 recipes-archive-melpa.json: updated 2022-11-19 2022-11-19 16:58:06 -03:00
AndersonTorres
7011353418 nongnu-generated.nix: updated 2022-11-19 2022-11-19 16:55:38 -03:00
AndersonTorres
51befefaa7 elpa-generated.nix: updated 2022-11-19 2022-11-19 15:45:21 -03:00
AndersonTorres
ca7d4c4d11 emacs/elisp-packages/manual-packages/tsc/update.py: fixup 2022-11-19 15:40:44 -03:00
Adam Joseph
0e2c58c77f
emacs: add withSystemd option 2022-11-14 23:05:55 +13:00