tree-sitter: set emcc cache outside of nix store
This commit is contained in:
parent
2920b6fc16
commit
05fa438733
@ -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 New Issue
Block a user