mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-21 23:03:11 +01:00
23 lines
426 B
Nix
23 lines
426 B
Nix
{ pkgs ? import <nixpkgs> {
|
|
config.android_sdk.accept_license = true;
|
|
config.allowUnfree = true;
|
|
} }:
|
|
|
|
let
|
|
|
|
android = pkgs.androidenv.composeAndroidPackages {
|
|
platformVersions = [ "29" ];
|
|
abiVersions = [ "armeabi-v7a" ];
|
|
};
|
|
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
ant openjdk android.androidsdk
|
|
];
|
|
shellHook = ''
|
|
export ANDROID_HOME=${android.androidsdk}/libexec/android-sdk
|
|
'';
|
|
}
|