summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/tree-sitter
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-12-24 02:52:32 +0100
committerProfpatsch <mail@profpatsch.de>2020-12-29 12:46:30 +0100
commita629257ec5e28992ad92316362a4f4662a3001a4 (patch)
tree64f83d2548526842cfb4deeabde52457a6a7ef43 /pkgs/development/tools/parsing/tree-sitter
parentef7116f203e663b20b3e908c60dd691f68f8f089 (diff)
downloadnixpkgs-a629257ec5e28992ad92316362a4f4662a3001a4.tar
nixpkgs-a629257ec5e28992ad92316362a4f4662a3001a4.tar.gz
nixpkgs-a629257ec5e28992ad92316362a4f4662a3001a4.tar.bz2
nixpkgs-a629257ec5e28992ad92316362a4f4662a3001a4.tar.lz
nixpkgs-a629257ec5e28992ad92316362a4f4662a3001a4.tar.xz
nixpkgs-a629257ec5e28992ad92316362a4f4662a3001a4.tar.zst
nixpkgs-a629257ec5e28992ad92316362a4f4662a3001a4.zip
tree-sitter: rename library.nix to grammar.nix
Diffstat (limited to 'pkgs/development/tools/parsing/tree-sitter')
-rw-r--r--pkgs/development/tools/parsing/tree-sitter/default.nix2
-rw-r--r--pkgs/development/tools/parsing/tree-sitter/grammar.nix (renamed from pkgs/development/tools/parsing/tree-sitter/library.nix)2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/parsing/tree-sitter/default.nix b/pkgs/development/tools/parsing/tree-sitter/default.nix
index 57c12cce93e..2cfa6398113 100644
--- a/pkgs/development/tools/parsing/tree-sitter/default.nix
+++ b/pkgs/development/tools/parsing/tree-sitter/default.nix
@@ -43,7 +43,7 @@ let
 
   builtGrammars = let
     change = name: grammar:
-      callPackage ./library.nix {} {
+      callPackage ./grammar.nix {} {
         language = name;
         inherit version;
         source = fetchGrammar grammar;
diff --git a/pkgs/development/tools/parsing/tree-sitter/library.nix b/pkgs/development/tools/parsing/tree-sitter/grammar.nix
index f78939b22ff..f92e0d79426 100644
--- a/pkgs/development/tools/parsing/tree-sitter/library.nix
+++ b/pkgs/development/tools/parsing/tree-sitter/grammar.nix
@@ -15,7 +15,7 @@
 
 stdenv.mkDerivation {
 
-  pname = "tree-sitter-${language}-library";
+  pname = "${language}-grammar";
   inherit version;
 
   src = source;