summary refs log tree commit diff
path: root/pkgs/development/mobile
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2019-11-09 10:34:14 -0800
committerBjørn Forsman <bjorn.forsman@gmail.com>2019-11-16 14:37:47 +0100
commit5d1c9cebd65053dcb043a0404b0fe0e97857b6c2 (patch)
treee996340fefee5b1afcf87a68beec0da7adb134b4 /pkgs/development/mobile
parent7889ec6069a72b4ca18b811b183c468e81f3b0d4 (diff)
downloadnixpkgs-5d1c9cebd65053dcb043a0404b0fe0e97857b6c2.tar
nixpkgs-5d1c9cebd65053dcb043a0404b0fe0e97857b6c2.tar.gz
nixpkgs-5d1c9cebd65053dcb043a0404b0fe0e97857b6c2.tar.bz2
nixpkgs-5d1c9cebd65053dcb043a0404b0fe0e97857b6c2.tar.lz
nixpkgs-5d1c9cebd65053dcb043a0404b0fe0e97857b6c2.tar.xz
nixpkgs-5d1c9cebd65053dcb043a0404b0fe0e97857b6c2.tar.zst
nixpkgs-5d1c9cebd65053dcb043a0404b0fe0e97857b6c2.zip
deployAndroidPackage: prefer local builds
These derivations just unzip something and maybe do a little patching,
so there's no benefit to sending the zip file off to a build server and
then downloading the unzipped results again.
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r--pkgs/development/mobile/androidenv/deploy-androidpackage.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/mobile/androidenv/deploy-androidpackage.nix b/pkgs/development/mobile/androidenv/deploy-androidpackage.nix
index 97fd197cb7d..839a14f7033 100644
--- a/pkgs/development/mobile/androidenv/deploy-androidpackage.nix
+++ b/pkgs/development/mobile/androidenv/deploy-androidpackage.nix
@@ -8,6 +8,7 @@ stdenv.mkDerivation ({
   name = package.name + "-" + package.revision;
   src = if os != null && builtins.hasAttr os package.archives then package.archives.${os} else package.archives.all;
   buildInputs = [ unzip ] ++ buildInputs;
+  preferLocalBuild = true;
 
   # Most Android Zip packages have a root folder, but some don't. We unpack
   # the zip file in a folder and we try to discover whether it has a single root