diff options
author | Sander van der Burg <svanderburg@gmail.com> | 2013-08-06 14:11:34 +0200 |
---|---|---|
committer | Sander van der Burg <svanderburg@gmail.com> | 2013-08-06 14:11:34 +0200 |
commit | d435b392014678f6d95951730a8db51203708486 (patch) | |
tree | 3f3aef86a0c85e3be8d7d557ffe4951c03658b89 /pkgs/development/mobile | |
parent | 912146d7649891e5665fcee3a0f962f1fcff5878 (diff) | |
download | nixlib-d435b392014678f6d95951730a8db51203708486.tar nixlib-d435b392014678f6d95951730a8db51203708486.tar.gz nixlib-d435b392014678f6d95951730a8db51203708486.tar.bz2 nixlib-d435b392014678f6d95951730a8db51203708486.tar.lz nixlib-d435b392014678f6d95951730a8db51203708486.tar.xz nixlib-d435b392014678f6d95951730a8db51203708486.tar.zst nixlib-d435b392014678f6d95951730a8db51203708486.zip |
Make AVD creating configurable at runtime
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r-- | pkgs/development/mobile/androidenv/emulate-app.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/mobile/androidenv/emulate-app.nix b/pkgs/development/mobile/androidenv/emulate-app.nix index 0ae934b572ac..9c843fa8c373 100644 --- a/pkgs/development/mobile/androidenv/emulate-app.nix +++ b/pkgs/development/mobile/androidenv/emulate-app.nix @@ -55,7 +55,7 @@ stdenv.mkDerivation { export ANDROID_SERIAL="emulator-$port" # Create a virtual android device - yes "" | ${androidsdkComposition}/libexec/android-sdk-*/tools/android create avd -n device -t ${if useGoogleAPIs then "'Google Inc.:Google APIs:"+platformVersion+"'" else "android-"+platformVersion} + yes "" | ${androidsdkComposition}/libexec/android-sdk-*/tools/android create avd -n device -t ${if useGoogleAPIs then "'Google Inc.:Google APIs:"+platformVersion+"'" else "android-"+platformVersion} $NIX_ANDROID_AVD_FLAGS ${stdenv.lib.optionalString enableGPU '' # Enable GPU acceleration |