summary refs log tree commit diff
path: root/pkgs/development/mobile/androidenv/build-app.nix
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-07-20 17:56:59 +0000
committervolth <volth@volth.com>2018-07-20 18:48:37 +0000
commit87f5930c3fb2c852f5243278b7a9da8e117d95e4 (patch)
treed76aa79bc394e820305c4eebbd250c89f6992eb9 /pkgs/development/mobile/androidenv/build-app.nix
parenta7e5927b4739c6e6427fc993f077cd3eb5433db7 (diff)
downloadnixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.gz
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.bz2
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.lz
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.xz
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.zst
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.zip
[bot]: remove unreferenced code
Diffstat (limited to 'pkgs/development/mobile/androidenv/build-app.nix')
-rw-r--r--pkgs/development/mobile/androidenv/build-app.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkgs/development/mobile/androidenv/build-app.nix b/pkgs/development/mobile/androidenv/build-app.nix
index 390c5eb7a205..20b3ff3b8f50 100644
--- a/pkgs/development/mobile/androidenv/build-app.nix
+++ b/pkgs/development/mobile/androidenv/build-app.nix
@@ -7,10 +7,6 @@ args@{ name, src, platformVersions ? [ "8" ], useGoogleAPIs ? false, antFlags ?
 assert release -> keyStore != null && keyAlias != null && keyStorePassword != null && keyAliasPassword != null;
 
 let
-  platformName = if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" then "linux"
-    else if stdenv.system == "x86_64-darwin" then "macosx"
-    else throw "Platform: ${stdenv.system} is not supported!";
-
   androidsdkComposition = androidsdk {
     inherit platformVersions useGoogleAPIs;
     abiVersions = [];