Merge pull request #144664 from SuperSandro2000/tree-sitter

tree-sitter: fix eval
This commit is contained in:
Sandro 2021-11-05 08:49:53 +01:00 committed by GitHub
commit 621309b2e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"; }; } //