diff options
| author | Chris Hodapp <108633+clhodapp@users.noreply.github.com> | 2023-03-14 20:51:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-15 16:51:29 +1300 |
| commit | 1a8edfe192baf0775391ce520092db3c37ff5035 (patch) | |
| tree | 71c4056f9b67f5b736685a6e11b7c0578452e015 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 28b44d37a286adeaeeb01acbda8e0b0b80f245ee (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
