emacs-treesit-grammars: exclude broken grammars

Commit 9bfc2e203b marked the
tree-sitter-razor grammar as broken. This breaks building
emacsPackages.treesit-grammars.with-all-grammars as it pulls in that
broken grammar.

Excluding broken grammars from with-all-grammars seems more useful than
forcing its users to work around this (by either accepting the broken
grammar or manually excluding it using treesit-grammars.with-grammars).
This commit is contained in:
Marien Zwart
2025-12-20 15:27:54 +11:00
parent 465d2bf38a
commit 6d5de68fcb
@@ -20,5 +20,5 @@ in
{
inherit with-grammars;
with-all-grammars = with-grammars builtins.attrValues;
with-all-grammars = with-grammars (ps: lib.filter (p: !p.meta.broken) (lib.attrValues ps));
}