mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
tree-sitter: fix build
This commit is contained in:
parent
7c6ef8b5cd
commit
ed55513a4f
@ -55,6 +55,10 @@ in rustPlatform.buildRustPackage {
|
||||
# needed for the tests
|
||||
rm -rf test/fixtures/grammars
|
||||
ln -s ${grammars} test/fixtures/grammars
|
||||
|
||||
# These functions do not appear in the source code
|
||||
sed -i /_ts_query_context/d lib/binding_web/exports.json
|
||||
sed -i /___assert_fail/d lib/binding_web/exports.json
|
||||
'';
|
||||
|
||||
# Compile web assembly with emscripten. The --debug flag prevents us from
|
||||
|
Loading…
Reference in New Issue
Block a user