Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: tree-sitter 0.27.1 -> 0.27.2 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/hy5gcp4cjcrnv1apzr8z229iszkxl2sx-packages.json.drv building '/nix/store/hy5gcp4cjcrnv1apzr8z229iszkxl2sx-packages.json.drv'... Going to be running update for following packages: - tree-sitter-0.27.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - tree-sitter-0.27.1: UPDATING ... - tree-sitter-0.27.1: 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 9f37aec7c971..e1cb0cab5ce4 100644 --- a/pkgs/by-name/tr/tree-sitter/package.nix +++ b/pkgs/by-name/tr/tree-sitter/package.nix @@ -152,7 +152,7 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "tree-sitter"; - version = "0.27.1"; + version = "0.27.2"; __structuredAttrs = true; @@ -160,11 +160,11 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "tree-sitter"; repo = "tree-sitter"; tag = "v${finalAttrs.version}"; - hash = "sha256-KbPqA6pfplWRUtwRgbNXUF7aivj/n4shJqWbjNO93nQ="; + hash = "sha256-vA7vOBDonYNmJMn0xyHqonzTlRBjzXjKiQ4Zq33kgSk="; fetchSubmodules = true; }; - cargoHash = "sha256-GbW/qFq8X0UNi9LIepTIAKSAqCXM/gdy6XV6s5YO8r0="; + cargoHash = "sha256-9RrKrqPILapd9PaoE3oPl3igqcaY1MKxKNKhJ0ALSRU="; cargoBuildFeatures = lib.optionals wasmSupport [ "wasm" ]; No auto update branch exists Successfully finished processing Automatic update generated by [nixpkgs-update](https://github.com/NixOS/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.27.2 ###### 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.27.2 with grep in /nix/store/g5nda8gwv6064kgpaa7czii35wm6y4sr-tree-sitter-0.27.2 - found 0.27.2 in filename of file in /nix/store/g5nda8gwv6064kgpaa7czii35wm6y4sr-tree-sitter-0.27.2 ---
Rebuild report (if merged into master) (click to expand) ``` 1393 total rebuild path(s) 1376 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 agdaPackages.standard-library-classes agdaPackages.standard-library-meta 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 emacs31 emacs31-gtk3 emacs31-nox emacs31-pgtk emacspeak ethersync evil-helix frama-c frama-c-gui 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/g5nda8gwv6064kgpaa7czii35wm6y4sr-tree-sitter-0.27.2 \ --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nixos.org/' \ --option trusted-public-keys ' nixpkgs-update-cache.nixos.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/d8b63803300d1275f64a3c16362a0c4cc06e527c.tar.gz ``` Or: ``` nix build github:r-ryantm/nixpkgs/d8b63803300d1275f64a3c16362a0c4cc06e527c#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/g5nda8gwv6064kgpaa7czii35wm6y4sr-tree-sitter-0.27.2 ls -la /nix/store/g5nda8gwv6064kgpaa7czii35wm6y4sr-tree-sitter-0.27.2/bin ``` ---

### Pre-merge build results Nixpkgs review skipped --- ###### Maintainer pings cc @uncenter @amaanq for [testing](https://github.com/NixOS/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/589033