diff options
author | Artturi <Artturin@artturin.com> | 2023-09-15 06:59:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 06:59:33 +0300 |
commit | 014b0d9fba82431165473addaeac391e3d6f351c (patch) | |
tree | c1ff08e10f47a50734abdbf12cd36cb07b289aad | |
parent | 99283f44be1bff250dfb63e3746d4668b4f20454 (diff) | |
parent | 05fa4387331f380b6132dbd84cca233d64480b14 (diff) |
Merge pull request #241340 from ErinvanderVeen/tree-sitter-emscripten-fix
-rw-r--r-- | pkgs/development/tools/parsing/tree-sitter/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/tree-sitter/default.nix b/pkgs/development/tools/parsing/tree-sitter/default.nix index b9d7cfcd6afdc..804f771cdca3f 100644 --- a/pkgs/development/tools/parsing/tree-sitter/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/default.nix @@ -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 ''; |