3
0
Fork 0
forked from mirrors/nixpkgs

tree-sitter: exports.json was fixed in releases, remove sed

These symbols do not exist anymore in the new tree-sitter releases, so
we can remove the sed.
This commit is contained in:
Profpatsch 2020-12-13 06:53:17 +01:00
parent 453c116254
commit 5907bcadfa

View file

@ -60,10 +60,6 @@ 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