add android build tools to $PATH

commited on behalf of ewemoa
This commit is contained in:
Cray Elliott 2014-11-24 00:46:09 -08:00
parent 7a92cb2546
commit 35d5e4de76

View File

@ -192,6 +192,14 @@ stdenv.mkDerivation rec {
ln -sf $i $out/bin/$(basename $i)
fi
done
for i in $out/libexec/android-sdk-*/build-tools/android-*/*
do
if [ ! -d $i ] && [ -x $i ]
then
ln -sf $i $out/bin/$(basename $i)
fi
done
'';
buildInputs = [ unzip makeWrapper ];