Skip to content

Commit

Permalink
[Nix] Explicitly set emscripten cache
Browse files Browse the repository at this point in the history
Summary:
Avoid emscripten trying to write to the nix store, which
will always fail

Depends on D8395

Test Plan:
```
cd web

yarn build-db-wasm
```

Reviewers: atul, jon

Reviewed By: jon

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8446
  • Loading branch information
jonringer-comm authored and xsanm committed Jul 12, 2023
1 parent 93a2771 commit e5814ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/source_development_defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ export TMP=/tmp/app.comm
export TEMP="$TMP"
export TMPDIR="$TMP"
export TEMPDIR="$TMP"
export EM_CACHE="$TMP/em_cache"

mkdir -p "$EM_CACHE"

mkdir -p "$TMP"

# For cargo + rustup applications, ensure cargo user bin directory is on path
if [[ ! "$PATH" =~ \.cargo/bin ]]; then
Expand Down

0 comments on commit e5814ad

Please sign in to comment.