Page MenuHomePhabricator

D5745.diff
No OneTemporary

D5745.diff

diff --git a/scripts/source_development_defaults.sh b/scripts/source_development_defaults.sh
--- a/scripts/source_development_defaults.sh
+++ b/scripts/source_development_defaults.sh
@@ -19,3 +19,13 @@
export ANDROID_SDK_ROOT="${ANDROID_SDK_ROOT:-$ANDROID_HOME}"
export PATH="$PATH":./node_modules/.bin
+
+# mysql2 package wants stable prefixes for temporary directory paths
+# 'nix develop' will set TMP and related variables to something different each
+# invocation
+export TMP=/tmp/app.comm
+export TEMP="$TMP"
+export TMPDIR="$TMP"
+export TEMPDIR="$TMP"
+
+mkdir -p "$TMP"

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 7:28 AM (21 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2496800
Default Alt Text
D5745.diff (584 B)

Event Timeline