Merge pull request #241340 from ErinvanderVeen/tree-sitter-emscripten-fix
This commit is contained in:
commit
014b0d9fba
|
@ -124,6 +124,8 @@ rustPlatform.buildRustPackage {
|
||||||
# minifying the JavaScript; passing it allows us to side-step more Node
|
# minifying the JavaScript; passing it allows us to side-step more Node
|
||||||
# JS dependencies for installation.
|
# JS dependencies for installation.
|
||||||
preBuild = lib.optionalString webUISupport ''
|
preBuild = lib.optionalString webUISupport ''
|
||||||
|
mkdir -p .emscriptencache
|
||||||
|
export EM_CACHE=$(pwd)/.emscriptencache
|
||||||
bash ./script/build-wasm --debug
|
bash ./script/build-wasm --debug
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue