@@ -41,8 +41,10 @@ let
4141
4242 builtGrammars = let
4343 change = name: grammar:
44− callPackage ./library.nix {
45− language = name; inherit version; source = fetchGrammar grammar;
44+ callPackage ./library.nix {} {
45+ language = name;
46+ inherit version;
47+ source = fetchGrammar grammar;
4648 };
4749 in
4850 # typescript doesn't have parser.c in the same place as others
@@ -60,10 +62,6 @@ in rustPlatform.buildRustPackage {
6062 # needed for the tests
6163 rm -rf test/fixtures/grammars
6264 ln -s ${grammars} test/fixtures/grammars
63−
64− # These functions do not appear in the source code
65− sed -i /_ts_query_context/d lib/binding_web/exports.json
66− sed -i /___assert_fail/d lib/binding_web/exports.json
6765 '';
6866
6967 # Compile web assembly with emscripten. The --debug flag prevents us from