Skip to content

tree-sitter: 0.25.3 -> 0.25.4 - #407912

Merged
isabelroses merged 1 commit into
NixOS:stagingfrom
r-ryantm:auto-update/tree-sitter
May 26, 2025
Merged

isabelroses merged 1 commit into
NixOS:stagingfrom
r-ryantm:auto-update/tree-sitter

Conversation

@r-ryantm

Copy link
Copy Markdown
Contributor

Automatic update generated by 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/blob/v0.25.4/CHANGELOG.md

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.25.4 with grep in /nix/store/4aryii4nql8rdsvpqddkhszbq23clmcn-tree-sitter-0.25.4
  • found 0.25.4 in filename of file in /nix/store/4aryii4nql8rdsvpqddkhszbq23clmcn-tree-sitter-0.25.4

Rebuild report (if merged into master) (click to expand)
985 total rebuild path(s)

985 package rebuild(s)

First fifty rebuilds by attrpath

aerc
afew
agda
agdaPackages._1lab
agdaPackages.agda
agdaPackages.agda-categories
agdaPackages.agda-prelude
agdaPackages.cubical
agdaPackages.cubical-mini
agdaPackages.functional-linear-algebra
agdaPackages.generics
agdaPackages.standard-library
alot
astroid
auctex
cflow
cscope
cutter
cutterPlugins.jsdec
cutterPlugins.rz-ghidra
diffsitter
easycrypt
emacs
emacs-gtk
emacs-lsp-booster
emacs-nox
emacs-pgtk
emacs30
emacs30-gtk3
emacs30-nox
emacs30-pgtk
emacspeak
framac
gcl
gnvim
haskellPackages.Agda
haskellPackages.agda2hs
haskellPackages.notmuch
haskellPackages.trexio-hs
idutils
knot-dns
knot-resolver
lbdb
lieer
lua51Packages.fzf-lua
lua51Packages.grug-far-nvim
lua51Packages.haskell-tools-nvim
lua51Packages.lualine-nvim
lua51Packages.lz-n
Instructions to test this update (click to expand)

Either download from the cache:

nix-store -r /nix/store/4aryii4nql8rdsvpqddkhszbq23clmcn-tree-sitter-0.25.4 \
  --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/64e707d9f0db7ba9100fb92355d4ad6b3336d1de.tar.gz

Or:

nix build github:r-ryantm/nixpkgs/64e707d9f0db7ba9100fb92355d4ad6b3336d1de#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/4aryii4nql8rdsvpqddkhszbq23clmcn-tree-sitter-0.25.4
ls -la /nix/store/4aryii4nql8rdsvpqddkhszbq23clmcn-tree-sitter-0.25.4/bin


Pre-merge build results

NixPkgs review skipped


Maintainer pings

cc @Profpatsch @uncenter for testing.

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.


Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. labels May 17, 2025
@nix-owners
nix-owners Bot requested review from Profpatsch and uncenter May 17, 2025 12:19
@b1nhack

b1nhack commented May 24, 2025

Copy link
Copy Markdown

Someone work on this? @Profpatsch @uncenter
The latest nvim-treesitter need tree-sitter v0.25.4

@uncenter

uncenter commented May 25, 2025 •

Copy link
Copy Markdown
Member

Built on aarch64-darwin, tested --version and playground & generate subcommands, with/without webUISupport enabled. Still waiting for the nixpkgs-review to complete. Takes too long, I think I've tested it enough!😅

@isabelroses isabelroses added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels May 26, 2025
@isabelroses
isabelroses merged commit 13ee898 into NixOS:staging May 26, 2025
@r-ryantm
r-ryantm deleted the auto-update/tree-sitter branch May 27, 2025 00:22
@jhvst

jhvst commented Jun 25, 2025

Copy link
Copy Markdown

I can attest that webUI support indeed works on this version (it was broken on 25.05).
However, the webUI used to produce both .js and .wasm files to the lib folder.
Something changed in the upstream such that the .js file is not included anymore.
Looking at the upstream repository, it seems to use different build instructions: https://github.com/tree-sitter/tree-sitter/blob/master/.github/workflows/build.yml#L194-L204

I wonder is there something that can be done here?

@uncenter

Copy link
Copy Markdown
Member

I can attest that webUI support indeed works on this version (it was broken on 25.05). However, the webUI used to produce both .js and .wasm files to the lib folder. Something changed in the upstream such that the .js file is not included anymore. Looking at the upstream repository, it seems to use different build instructions: tree-sitter/tree-sitter@master/.github/workflows/build.yml#L194-L204

I wonder is there something that can be done here?

I'd suggest opening an issue for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants