Commit fc17036
authored
nix: drop tree-sitter grammars from devshell (#15603)
Previously running `nix develop` (or any other way of entering the
devshell) could take a long time due to downloading all of the
tree-sitter grammars despite them not being used in the shell.
This drops the grammars from the devshell by overriding the grammar
filter function to exclude all of them. This way other inputs are still
automatically derived from the main helix packages, but grammars are
excluded only when building for the devshell.
The main package and checks still builds with grammars included.1 parent f7909f1 commit fc17036
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
0 commit comments