Nix flake to build and expose the tree-sitter grammar of Roc.
Purpose: Automate my Helix configuration for the Roc language while it is not supported.
This flake makes it easy for me to rebuild the grammar and pipe the outputs into other flakes.
To manually generate the output, use nix build.
Current structure of the result:
- The
queries/directory is placed intoresult/queries/roc/(content to be copied into.config/helix/runtime/queries/roc/). - The generated
.sofile is placed intoresult/grammars/(content to be copied into.config/helix/runtime/grammars/).