Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3335453
D4483.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
676 B
Referenced Files
None
Subscribers
None
D4483.diff
View Options
diff --git a/nix/dev-shell.nix b/nix/dev-shell.nix
--- a/nix/dev-shell.nix
+++ b/nix/dev-shell.nix
@@ -21,6 +21,7 @@
, libuv
, nodejs-16_x
, olm
+, openjdk8
, openssl
, pkg-config
, protobuf_3_15_cmake
@@ -85,12 +86,15 @@
libiconv # identity service
]);
+ JAVA_HOME = openjdk8.passthru.home;
+
# shell commands to be ran upon entering shell
shellHook = let
socket = "mysql-socket/mysql.sock";
in ''
if [[ "$OSTYPE" == 'linux'* ]]; then
export MYSQL_UNIX_PORT=''${XDG_RUNTIME_DIR:-/run/user/$UID}/${socket}
+ export ANDROID_SDK_ROOT=''${ANDROID_SDK_ROOT:-$HOME/Android/Sdk}
fi
if [[ "$OSTYPE" == 'darwin'* ]]; then
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 9:50 AM (15 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2561067
Default Alt Text
D4483.diff (676 B)
Attached To
Mode
D4483: [Nix] Support building Android through gradle on Linux
Attached
Detach File
Event Timeline
Log In to Comment