Renamed subdirectories in Android SKD's build-tools

Nix unzips the different components of the Android SDK one by one.
It followed the directory structure of complete packages released for
mainstream OS but the names of the directories in build-tools doesn't
match those.
As a result, some programs assuming the usual directory structure and
naming conventions broke (in my case it is a gradle plugin).
This is a fix. It may introduce a regression if some programs rely on
the current behavior.

+3 -2
+1 -1
pkgs/development/mobile/androidenv/androidsdk.nix
··· 219 219 fi 220 220 done 221 221 222 - for i in $out/libexec/android-sdk-*/build-tools/android-*/* 222 + for i in $out/libexec/android-sdk-*/build-tools/*/* 223 223 do 224 224 if [ ! -d $i ] && [ -x $i ] 225 225 then
+2 -1
pkgs/development/mobile/androidenv/build-tools.nix
··· 18 18 mkdir -p $out/build-tools 19 19 cd $out/build-tools 20 20 unzip $src 21 + mv android-* ${version} 21 22 22 23 ${stdenv.lib.optionalString (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") 23 24 '' 24 - cd android-* 25 + cd ${version} 25 26 26 27 # Patch the interpreter 27 28 for i in aapt aidl bcc_compat dexdump llvm-rs-cc