Files
anyway/default.nix
2025-10-20 17:08:10 +02:00

20 lines
592 B
Nix

{ pkgs ? import <nixpkgs> { 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."
'';
}