about summary refs log tree commit diff
path: root/pkgs/development/mobile/androidenv/default.nix
diff options
context:
space:
mode:
authortaku0 <mxxouy6x3m_github@tatapa.org>2016-10-09 19:11:55 +0900
committertaku0 <mxxouy6x3m_github@tatapa.org>2016-10-09 19:11:55 +0900
commita229fd4ce386b38478df7b413b4cfa834a41c3fd (patch)
treeee87fc1de2164cb2e892dab37ea657892bde9256 /pkgs/development/mobile/androidenv/default.nix
parent09743075a971ec0639ed75887176c0373f85a97e (diff)
downloadnixlib-a229fd4ce386b38478df7b413b4cfa834a41c3fd.tar
nixlib-a229fd4ce386b38478df7b413b4cfa834a41c3fd.tar.gz
nixlib-a229fd4ce386b38478df7b413b4cfa834a41c3fd.tar.bz2
nixlib-a229fd4ce386b38478df7b413b4cfa834a41c3fd.tar.lz
nixlib-a229fd4ce386b38478df7b413b4cfa834a41c3fd.tar.xz
nixlib-a229fd4ce386b38478df7b413b4cfa834a41c3fd.tar.zst
nixlib-a229fd4ce386b38478df7b413b4cfa834a41c3fd.zip
androidenv: Add API sources
Diffstat (limited to 'pkgs/development/mobile/androidenv/default.nix')
-rw-r--r--pkgs/development/mobile/androidenv/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/mobile/androidenv/default.nix b/pkgs/development/mobile/androidenv/default.nix
index a21edcc06962..7ecb82ce4060 100644
--- a/pkgs/development/mobile/androidenv/default.nix
+++ b/pkgs/development/mobile/androidenv/default.nix
@@ -1,4 +1,4 @@
-{pkgs, pkgs_i686}:
+{pkgs, pkgs_i686, includeSources ? true}:
 
 rec {
   platformTools = import ./platform-tools.nix {
@@ -39,12 +39,16 @@ rec {
     inherit (pkgs) stdenv fetchurl unzip;
   };
 
+  sources = import ./sources.nix {
+    inherit (pkgs) stdenv fetchurl unzip;
+  };
+
   androidsdk = import ./androidsdk.nix {
     inherit (pkgs) stdenv fetchurl unzip makeWrapper;
     inherit (pkgs) zlib glxinfo freetype fontconfig glib gtk2 atk mesa file alsaLib jdk coreutils libpulseaudio dbus;
     inherit (pkgs.xorg) libX11 libXext libXrender libxcb libXau libXdmcp libXtst xkeyboardconfig;
     
-    inherit platformTools buildTools support supportRepository platforms sysimages addons;
+    inherit platformTools buildTools support supportRepository platforms sysimages addons sources includeSources;
     
     stdenv_32bit = pkgs_i686.stdenv;
   };