git.iko.soy/typeable/nixpkgs
on master help sign in
tree-sitter: 0.17.1 -> 0.17.3; run make install
562eaafCole Mickens
pkgs/development/tools/parsing/tree-sitter/default.nix+8−3
@@ -11,9 +11,9 @@ let
11 # 1) change all these hashes
11 # 1) change all these hashes
12 # 2) nix-build -A tree-sitter.updater.update-all-grammars
12 # 2) nix-build -A tree-sitter.updater.update-all-grammars
13 # 3) run the ./result script that is output by that (it updates ./grammars)
13 # 3) run the ./result script that is output by that (it updates ./grammars)
14− version = "0.17.1";
14+ version = "0.17.3";
15− sha256 = "sha256-k61actAEyao/Ea8aw9PCm252U+1I0d43MAYC68/lui4=";
15+ sha256 = "sha256-uQs80r9cPX8Q46irJYv2FfvuppwonSS5HVClFujaP+U=";
16− cargoSha256 = "sha256-Jp/Fl20ZZfaIdWinOOujNVH5JjJNtyUYHfyTrmeeoRg=";
16+ cargoSha256 = "sha256-fonlxLNh9KyEwCj7G5vxa7cM/DlcHNFbQpp0SwVQ3j4=";
17
17
18 src = fetchFromGitHub {
18 src = fetchFromGitHub {
19 owner = "tree-sitter";
19 owner = "tree-sitter";
@@ -68,6 +68,11 @@ in rustPlatform.buildRustPackage {
68 bash ./script/build-wasm --debug
68 bash ./script/build-wasm --debug
69 '';
69 '';
70
70
71+ postInstall = ''
72+ export PREFIX=$out
73+ make install
74+ '';
75+
71 # test result: FAILED. 120 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out
76 # test result: FAILED. 120 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out
72 doCheck = false;
77 doCheck = false;
73
78