devenv/flutter.nix

12 lines
296 B
Nix
Raw Normal View History

2020-10-20 12:58:24 +02:00
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell {
2021-05-06 00:09:32 +02:00
buildInputs = [ flutter hover androidenv.androidPkgs_9_0.androidsdk jdk ];
2020-10-20 12:58:24 +02:00
ANDROID_HOME = "${androidenv.androidPkgs_9_0.androidsdk}/libexec/android-sdk";
ANDROID_AVD_HOME = (toString ./.) + "/.android/avd";
JAVA_HOME = pkgs.jdk;
}