Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: tree-sitter 0.26.9 -> 0.26.11 https://github.com/tree-sitter/tree-sitter/releases
attrpath: tree-sitter
Checking auto update branch...
[version]
[version] generic version rewriter does not support multiple hashes
[rustCrateVersion]
[rustCrateVersion] skipping because derivation has updateScript
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/v4mi0hb3b5wbh3rc3sifcinv6cvwgy8z-packages.json.drv
building '/nix/store/v4mi0hb3b5wbh3rc3sifcinv6cvwgy8z-packages.json.drv'...
Going to be running update for following packages:
- tree-sitter-0.26.9
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- tree-sitter-0.26.9: UPDATING ...
- tree-sitter-0.26.9: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/tr/tree-sitter/package.nix b/pkgs/by-name/tr/tree-sitter/package.nix
index 5c2f8655c625..657ec93f04f1 100644
--- a/pkgs/by-name/tr/tree-sitter/package.nix
+++ b/pkgs/by-name/tr/tree-sitter/package.nix
@@ -130,17 +130,17 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "tree-sitter";
- version = "0.26.9";
+ version = "0.26.11";
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "tree-sitter";
tag = "v${finalAttrs.version}";
- hash = "sha256-ohVhW4AEKX5VspqBePtfxbJGkjmJnNkf5ntU3RUxF+0=";
+ hash = "sha256-YXnmVM90sEH8kqgqCygpeCAyvggMIsv+oXi0SJOvMRM=";
fetchSubmodules = true;
};
- cargoHash = "sha256-3egxdusYHQs8PadxGZ44+VWtlTcGBrcqlWMUyUzpWnY=";
+ cargoHash = "sha256-kHDjPRhBUYlxLWYSv6cn6U1QDIWwCgHeIz2A5yCi1yo=";
cargoBuildFeatures = lib.optionals wasmSupport [ "wasm" ];
No auto update branch exists
Successfully finished processing
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for tree-sitter is: Parser generator tool and an incremental parsing library
meta.homepage for tree-sitter is: https://github.com/tree-sitter/tree-sitter
meta.changelog for tree-sitter is: https://github.com/tree-sitter/tree-sitter/releases/tag/v0.26.11
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 0.26.11 with grep in /nix/store/x25ljvk3433jkwdf7c33s7rzy6vrginx-tree-sitter-0.26.11
- found 0.26.11 in filename of file in /nix/store/x25ljvk3433jkwdf7c33s7rzy6vrginx-tree-sitter-0.26.11
---
Rebuild report (if merged into master) (click to expand)
```
1274 total rebuild path(s)
1272 package rebuild(s)
First fifty rebuilds by attrpath
aerc
afew
agda
agdaPackages._1lab
agdaPackages.agda
agdaPackages.agda-categories
agdaPackages.agda-prelude
agdaPackages.agda2hs-base
agdaPackages.agdarsec
agdaPackages.cubical
agdaPackages.cubical-mini
agdaPackages.functional-linear-algebra
agdaPackages.generics
agdaPackages.standard-library
alot
apkleaks
astroid
auctex
cflow
cp2k
cscope
cutter
cutterPlugins.jsdec
cutterPlugins.rz-ghidra
diffsitter
dnsdist
easycrypt
emacs
emacs-gtk
emacs-lsp-booster
emacs-nox
emacs-pgtk
emacs30
emacs30-gtk3
emacs30-nox
emacs30-pgtk
emacs31
emacs31-gtk3
emacs31-nox
emacs31-pgtk
emacspeak
evil-helix
frama-c
framac
gcl
gnvim
graphify
haskellPackages.Agda
haskellPackages.agda2hs
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/x25ljvk3433jkwdf7c33s7rzy6vrginx-tree-sitter-0.26.11 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A tree-sitter https://github.com/r-ryantm/nixpkgs/archive/18a0495c84a903589ff467b295ad7fd026f8568d.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/18a0495c84a903589ff467b295ad7fd026f8568d#tree-sitter
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/x25ljvk3433jkwdf7c33s7rzy6vrginx-tree-sitter-0.26.11
ls -la /nix/store/x25ljvk3433jkwdf7c33s7rzy6vrginx-tree-sitter-0.26.11/bin
```
---
### Pre-merge build results
Nixpkgs review skipped
---
###### Maintainer pings
cc @uncenter @amaanq for [testing](https://github.com/nix-community/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
https://api.github.com/repos/NixOS/nixpkgs/pulls/542453