diff options
author | figsoda <figsoda@pm.me> | 2022-11-18 10:31:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 10:31:31 -0500 |
commit | 7e853f1d552a6327304339cd6c26d492d2def940 (patch) | |
tree | 3370ccb03407d8ce3cc6c3a987060e153bcc73bc /pkgs/development/tools | |
parent | 4b85db7975a9b1b52714b910cecf0188361986dd (diff) | |
parent | 1edc531d8ba3fb0e2f6fc21f4f25311967d44b8d (diff) |
Merge pull request #201726 from figsoda/nvim-treesitter-homepage
vimPlugins.nvim-treesitter: set meta.homepage for grammars
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/parsing/tree-sitter/grammar.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/tools/parsing/tree-sitter/grammar.nix b/pkgs/development/tools/parsing/tree-sitter/grammar.nix index 0debac64393c1..e819a55eef377 100644 --- a/pkgs/development/tools/parsing/tree-sitter/grammar.nix +++ b/pkgs/development/tools/parsing/tree-sitter/grammar.nix @@ -14,12 +14,12 @@ # source for the language grammar , source , location ? null -, generate ? false, -}: +, generate ? false +, ... +}@args: -stdenv.mkDerivation rec { +stdenv.mkDerivation ({ pname = "${language}-grammar"; - inherit version; src = source; @@ -59,4 +59,4 @@ stdenv.mkDerivation rec { fi runHook postInstall ''; -} +} // removeAttrs args [ "language" "source" "location" "generate" ]) |