Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3247894
D5745.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
584 B
Referenced Files
None
Subscribers
None
D5745.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5745: [Nix] Set TMP to stable path
Attached
Detach File
Event Timeline
Log In to Comment