New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tree-sitter: 0.15.7 -> 0.16.4 #80163
Conversation
Includes some bugfixes/cleanups to the scripts and packaging, a run of the updater, a bump of the version, an upgrade to the newer cargo fetcher in NixOS#79975, and gets the web assembly portion to compile successfully. Fixes NixOS#75863
@GrahamcOfBorg build tree-sitter |
@@ -22,7 +22,7 @@ let | |||
res=$(${curl}/bin/curl \ | |||
--silent \ | |||
"https://api.github.com/repos/${urlEscape owner}/$(${urlEscapeSh} "$repo")/releases/latest") | |||
if [[ "$(printf "%s" "$res" | ${jq}bin/jq '.message')" =~ "rate limit" ]]; then | |||
if [[ "$(printf "%s" "$res" | ${jq}/bin/jq '.message')" =~ "rate limit" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This never worked previously, but its failure just prints a warning :)
preBuild = '' | ||
HOME=/tmp | ||
bash ./script/build-wasm --debug | ||
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We now support web assembly and can remove our old patch (which didn't apply cleanly) and vendoring hacks. Someone who wants to go really above and beyond could also get the JS minify step working, but I'm satisfied taking it to this point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let’s add an option to make the web-ui optional.
Thanks! Do you want to add yourself as a maintainer? |
Backported the update slightly altered as 57fafc0 to fix the build on release-20.03 as well. |
Includes some bugfixes/cleanups to the scripts and packaging, a run of the
updater, a bump of the version, an upgrade to the newer cargo fetcher in #79975,
and gets the web assembly portion to compile successfully.
Fixes #75863
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)