From aeb3a380ccef9e3b38738fa2bade8b98a362a7b1 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Fri, 7 Apr 2023 13:53:26 +0200 Subject: [PATCH] tree-sitter: 0.20.7 -> 0.20.8 0.20.8 will be required by neovim 0.9 so this is a preliminary bump --- pkgs/development/tools/parsing/tree-sitter/default.nix | 10 +++++----- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/parsing/tree-sitter/default.nix b/pkgs/development/tools/parsing/tree-sitter/default.nix index 8fcb696ac7f2..9da09a10e7e4 100644 --- a/pkgs/development/tools/parsing/tree-sitter/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/default.nix @@ -16,7 +16,7 @@ , Security , callPackage , linkFarm - +, CoreServices , enableShared ? !stdenv.hostPlatform.isStatic , enableStatic ? stdenv.hostPlatform.isStatic , webUISupport ? false @@ -29,9 +29,9 @@ let # 2) nix-build -A tree-sitter.updater.update-all-grammars # 3) Set GITHUB_TOKEN env variable to avoid api rate limit (Use a Personal Access Token from https://github.com/settings/tokens It does not need any permissions) # 4) run the ./result script that is output by that (it updates ./grammars) - version = "0.20.7"; - sha256 = "sha256-5ILiN5EfJ7WpeYBiXynfcLucdp8zmxVOj4gLkaFQYts="; - cargoSha256 = "sha256-V4frCaU5QzTx3ujdaplw7vNkosbzyXHQvE+T7ntVOtU="; + version = "0.20.8"; + sha256 = "sha256-278zU5CLNOwphGBUa4cGwjBqRJ87dhHMzFirZB09gYM="; + cargoSha256 = "sha256-0avy53pmR7CztDrL+5WAmlqpZwd/EA3Fh10hfPXyXZc="; src = fetchFromGitHub { owner = "tree-sitter"; @@ -111,7 +111,7 @@ rustPlatform.buildRustPackage { inherit src version cargoSha256; buildInputs = - lib.optionals stdenv.isDarwin [ Security ]; + lib.optionals stdenv.isDarwin [ Security CoreServices]; nativeBuildInputs = [ which ] ++ lib.optionals webUISupport [ emscripten ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 420313ea8163..13532cc3ace1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19014,7 +19014,7 @@ with pkgs; travis = callPackage ../development/tools/misc/travis { }; tree-sitter = makeOverridable (callPackage ../development/tools/parsing/tree-sitter) { - inherit (darwin.apple_sdk.frameworks) Security; + inherit (darwin.apple_sdk.frameworks) Security CoreServices; }; tree-sitter-grammars = recurseIntoAttrs tree-sitter.builtGrammars;