tree-sitter: set emcc cache outside of nix store

This commit is contained in:
Erin van der Veen 2023-07-03 22:02:39 +02:00
parent 2920b6fc16
commit 05fa438733

View File

@ -124,6 +124,8 @@ rustPlatform.buildRustPackage {
# minifying the JavaScript; passing it allows us to side-step more Node
# JS dependencies for installation.
preBuild = lib.optionalString webUISupport ''
mkdir -p .emscriptencache
export EM_CACHE=$(pwd)/.emscriptencache
bash ./script/build-wasm --debug
'';