0e87110ade
Signed-off-by: prescientmoon <git@moonythm.dev>
13 lines
361 B
Nix
13 lines
361 B
Nix
{ sources ? import ./nix/sources.nix }:
|
|
|
|
let
|
|
pkgs = import sources.nixpkgs {};
|
|
android = pkgs.callPackage ./nix/android.nix { };
|
|
in pkgs.mkShell {
|
|
buildInputs = [ pkgs.flutter pkgs.jdk android.platform-tools ];
|
|
|
|
ANDROID_HOME = "${android.androidsdk}/libexec/android-sdk";
|
|
JAVA_HOME = pkgs.jdk;
|
|
ANDROID_AVD_HOME = (toString ./.) + "/.android/avd";
|
|
}
|