push built grammars to cachix
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
iofq 2025-10-19 13:39:47 -05:00
parent 976859670c
commit 2fdf59a63d
2 changed files with 24 additions and 0 deletions

View file

@ -69,6 +69,24 @@ overlays = [
If you need the unpatched `nvim-treesitter` plugin without any parsers/queries bundled, even after you overlay it, you can use the `nvim-treesitter-unwrapped` output of this overlay.
## Cache
Add our `cachix` repo to avoid needing to build grammars locally.
```nix
nix = {
settings = {
substituters = [
"https://nvim-treesitter-main.cachix.org"
];
trusted-public-keys = [
"nvim-treesitter-main.cachix.org-1:cbwE6blfW5+BkXXyeAXoVSu1gliqPLHo2m98E4hWfZQ="
];
};
};
```
## Updating
To update the list of parsers in `generated.nix`: