tree-sitter: 0.17.1 -> 0.17.3; run make install

This commit is contained in:
Cole Mickens 2020-11-04 05:32:14 -08:00
parent ba3fc8bf47
commit 562eaafd36
No known key found for this signature in database
GPG Key ID: B475C2955744A019

View File

@ -11,9 +11,9 @@ let
# 1) change all these hashes # 1) change all these hashes
# 2) nix-build -A tree-sitter.updater.update-all-grammars # 2) nix-build -A tree-sitter.updater.update-all-grammars
# 3) run the ./result script that is output by that (it updates ./grammars) # 3) run the ./result script that is output by that (it updates ./grammars)
version = "0.17.1"; version = "0.17.3";
sha256 = "sha256-k61actAEyao/Ea8aw9PCm252U+1I0d43MAYC68/lui4="; sha256 = "sha256-uQs80r9cPX8Q46irJYv2FfvuppwonSS5HVClFujaP+U=";
cargoSha256 = "sha256-Jp/Fl20ZZfaIdWinOOujNVH5JjJNtyUYHfyTrmeeoRg="; cargoSha256 = "sha256-fonlxLNh9KyEwCj7G5vxa7cM/DlcHNFbQpp0SwVQ3j4=";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
@ -68,6 +68,11 @@ in rustPlatform.buildRustPackage {
bash ./script/build-wasm --debug bash ./script/build-wasm --debug
''; '';
postInstall = ''
export PREFIX=$out
make install
'';
# test result: FAILED. 120 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out # test result: FAILED. 120 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out
doCheck = false; doCheck = false;