tree-sitter: rename library.nix to grammar.nix
This commit is contained in:
parent
ef7116f203
commit
a629257ec5
@ -43,7 +43,7 @@ let
|
||||
|
||||
builtGrammars = let
|
||||
change = name: grammar:
|
||||
callPackage ./library.nix {} {
|
||||
callPackage ./grammar.nix {} {
|
||||
language = name;
|
||||
inherit version;
|
||||
source = fetchGrammar grammar;
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
pname = "tree-sitter-${language}-library";
|
||||
pname = "${language}-grammar";
|
||||
inherit version;
|
||||
|
||||
src = source;
|
Loading…
Reference in New Issue
Block a user