{ pkgs ? import { config.android_sdk.accept_license = true; config.allowUnfree = true; } }: pkgs.mkShell { buildInputs = with pkgs; [ flutter android-tools # for adb openjdk # required for Android builds # pkgs.androidenv.androidPkgs.androidsdk # The customized SDK that we've made above # androidenv.androidPkgs.ndk-bundle ]; # Set up Android SDK paths if needed ANDROID_HOME = "/scratch/remy/android"; shellHook = '' echo "Flutter dev environment ready. 'adb' and 'flutter' are available." ''; }