summaryrefslogtreecommitdiff
path: root/shell.nix
blob: 412b6ac82c59ed7fbe1a4547434f3a6475fe9192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
with (import <nixpkgs> {});
let
  jdk = jdk11;
  androidsdk = import ./nix/androidsdk.nix;
in
mkShell rec {
  name = "android-shell";

	buildInputs = [
    gnumake
    jdk
    androidsdk
    bazel_4
	];

  JAVA_HOME = jdk.home;
  ANDROID_SDK_ROOT = "${androidsdk}/libexec/android-sdk";
  ANDROID_HOME = "${ANDROID_SDK_ROOT}";
}