Unexpected-Keyboard/shell.nix

21 lines
406 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> {
config.android_sdk.accept_license = true;
config.allowUnfree = true;
} }:
let
android = pkgs.androidenv.composeAndroidPackages {
2021-01-04 23:50:51 +01:00
platformVersions = [ "29" ];
abiVersions = [ "armeabi-v7a" ];
};
in
pkgs.mkShell {
buildInputs = with pkgs; [
findutils openjdk8 android.androidsdk
];
ANDROID_HOME = "${android.androidsdk}/libexec/android-sdk";
}