Page MenuHomePhorge

D5745.1768798323.diff
No OneTemporary

Size
584 B
Referenced Files
None
Subscribers
None

D5745.1768798323.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
Mon, Jan 19, 4:52 AM (19 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5954439
Default Alt Text
D5745.1768798323.diff (584 B)

Event Timeline