1
Fork 0

dart(freeform-gradient): update flutter version

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Bastien Rivière 2020-04-04 14:57:04 +02:00 committed by prescientmoon
commit 0e87110ade
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
4 changed files with 193 additions and 5 deletions
dart/freeform-gradient

View file

@ -1,10 +1,12 @@
{ pkgs ? import <nixpkgs> {} }:
{ sources ? import ./nix/sources.nix }:
let
flutter = (import (builtins.fetchTarball
"https://github.com/babariviere/nixpkgs/archive/flutter-init.tar.gz") {}).flutter;
pkgs = import sources.nixpkgs {};
android = pkgs.callPackage ./nix/android.nix { };
in pkgs.mkShell {
buildInputs = [ flutter ];
buildInputs = [ pkgs.flutter pkgs.jdk android.platform-tools ];
ANDROID_HOME = "${pkgs.androidsdk_9_0}/libexec/android-sdk";
ANDROID_HOME = "${android.androidsdk}/libexec/android-sdk";
JAVA_HOME = pkgs.jdk;
ANDROID_AVD_HOME = (toString ./.) + "/.android/avd";
}