mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Merge pull request #144664 from SuperSandro2000/tree-sitter
tree-sitter: fix eval
This commit is contained in:
commit
621309b2e0
|
@ -62,7 +62,7 @@ let
|
|||
source = fetchGrammar grammar;
|
||||
location = if grammar ? location then grammar.location else null;
|
||||
};
|
||||
grammars' = (import ./grammars);
|
||||
grammars' = (import ./grammars { inherit lib; });
|
||||
grammars = grammars' //
|
||||
{ tree-sitter-ocaml = grammars'.tree-sitter-ocaml // { location = "ocaml"; }; } //
|
||||
{ tree-sitter-ocaml-interface = grammars'.tree-sitter-ocaml // { location = "interface"; }; } //
|
||||
|
|
Loading…
Reference in a new issue