1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 17:55:15 +03:00
aports/community/helix/helix.post-upgrade
Clayton Craft d0d529ad88 community/helix: use tree-sitter-rust 0.24.0
Tests fail otherwise

community/helix: Add option for using tree-sitter runtime from upstream

Upstream recommends[1][2] using tree-sitter grammars/queries they ship
and not using them from other sources (e.g. tree-sitter).

This adds two new subpkgs, and a virtual `helix-tree-sitter` that
they both provide in order to prevent both from being installed at the
same time. `helix-tree-sitter-system` sets up helix to use tree-sitter
grammars from aports, and `helix-tree-sitter-vendor` packages the
tree-sitter runtime from the upstream release.

See install script change in this patch for more info. I also added a
post-upgrade install script, symlinked to post-install, so that this
message is printed on upgrade too (I think it would be helpful to show
it then).

Disabled tests also seem to run fine now.

Fixes #16336

1. https://docs.helix-editor.com/master/building-from-source.html#configuring-helixs-runtime-files
2. https://github.com/helix-editor/helix/discussions/9683
2025-05-14 09:14:15 +00:00

Symbolic link
1 line
No EOL
18 B
Text