1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

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