nixpkgs/pkgs
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
..
applications emacs: Add basic tree-sitter support (#219559) 2023-03-15 16:51:29 +13:00
build-support emacs: Add basic tree-sitter support (#219559) 2023-03-15 16:51:29 +13:00
common-updater
data sarasa-gothic: 0.40.2 -> 0.40.3 2023-03-14 17:37:37 +00:00
desktops plasma: 5.27.2 -> 5.27.3 2023-03-14 20:27:10 +03:00
development Merge pull request #221154 from r-ryantm/auto-update/zchunk 2023-03-14 22:20:26 -03:00
games Merge pull request #221134 from trofi/fheroes2-update 2023-03-14 06:43:19 -03:00
misc Merge pull request #220570 from Artturin/fixlints1 2023-03-14 02:15:55 +02:00
os-specific Merge pull request #220003 from Kiskae/nvidia-470-6.2-fix 2023-03-14 17:56:36 -03:00
pkgs-lib
servers Merge pull request #221176 from marsam/update-plpgsql_check 2023-03-14 20:15:09 -05:00
shells fishPlugins.async-prompt: init at 1.2.0 2023-03-12 19:34:36 -04:00
stdenv
test tests.texlive: check that tlpdb.nix is the one generated from the upstream texlive.tlpdb.xz 2023-03-12 21:04:39 +00:00
tools Merge pull request #221199 from r-ryantm/auto-update/fclones 2023-03-14 17:58:49 -04:00
top-level Merge pull request #221138 from fabaff/sshfs 2023-03-15 00:17:16 +01:00