Add Flutter environment
This commit is contained in:
parent
1989f090b4
commit
e67431905a
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
|
with pkgs;
|
||||||
|
|
||||||
|
mkShell {
|
||||||
|
buildInputs = [ dart flutter androidenv.androidPkgs_9_0.androidsdk jdk ];
|
||||||
|
|
||||||
|
ANDROID_HOME = "${androidenv.androidPkgs_9_0.androidsdk}/libexec/android-sdk";
|
||||||
|
ANDROID_AVD_HOME = (toString ./.) + "/.android/avd";
|
||||||
|
JAVA_HOME = pkgs.jdk;
|
||||||
|
}
|
Loading…
Reference in New Issue