[Backport staging-25.11] tree-sitter: fix pkgsStatic build#496892
[Backport staging-25.11] tree-sitter: fix pkgsStatic build#496892nixpkgs-ci[bot] wants to merge 1 commit intostaging-25.11from
Conversation
(cherry picked from commit 2b9bb8c)
Jayman2000
left a comment
There was a problem hiding this comment.
Before merging, ensure that this backport is acceptable for the release.
At the moment, the “Changes acceptable for releases” section of CONTRIBUTING.md says:
The release branches should generally only receive backwards-compatible changes, both for the Nix expressions and derivations.
Here are some examples of changes that are okay to backport:
- ✔️ New packages, modules and functions
- ✔️ Security fixes
- ✔️ Package version updates
- ✔️ Patch versions with fixes
- ✔️ Minor versions with new functionality, but no breaking changes
This pull request appears to be a bug fix which means that it is acceptable for releases.
I tried building pkgsStatic.tree-sitter using 2fb7c44 (the tip of staging-25.11 at the moment). As expected, it failed to build. I then tried building pkgsStatic.tree-sitter using the commit from this pull request. It built successfully which indicates that this pull request does successfully fix the bug that it’s trying to fix. Additionally, I tried building tree-sitter using this pull request and running tree-sitter --help. It seemed to work fine. I was also able to build tree-sitter.tests successfully using this pull request.
Bot-based backport to
staging-25.11, triggered by a label in #443375.Before merging, ensure that this backport is acceptable for the release.
Even as a non-committer, if you find that it is not acceptable, leave a comment.
Tip
If you maintain all packages touched by this pull request, and they are all located under
pkgs/by-name/*, you can comment@NixOS/nixpkgs-merge-bot mergeto automatically merge this PR using thenixpkgs-merge-bot.