Unverified Commit 6d5de68f authored by Marien Zwart's avatar Marien Zwart
Browse files

emacs-treesit-grammars: exclude broken grammars

Commit 9bfc2e20 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).
parent 465d2bf3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
}