tree-sitter: fix eval

This commit is contained in:
Sandro Jäckel 2021-11-04 23:13:07 +01:00
parent b3e7ddabfb
commit 72ab5cbf69
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -62,7 +62,7 @@ let
source = fetchGrammar grammar; source = fetchGrammar grammar;
location = if grammar ? location then grammar.location else null; location = if grammar ? location then grammar.location else null;
}; };
grammars' = (import ./grammars); grammars' = (import ./grammars { inherit lib; });
grammars = grammars' // grammars = grammars' //
{ tree-sitter-ocaml = grammars'.tree-sitter-ocaml // { location = "ocaml"; }; } // { tree-sitter-ocaml = grammars'.tree-sitter-ocaml // { location = "ocaml"; }; } //
{ tree-sitter-ocaml-interface = grammars'.tree-sitter-ocaml // { location = "interface"; }; } // { tree-sitter-ocaml-interface = grammars'.tree-sitter-ocaml // { location = "interface"; }; } //