androidenv: use emulator from the path that makes it find qemu (#202088)
This commit is contained in:
parent
84c17bc98f
commit
ad25aa1098
1 changed files with 6 additions and 0 deletions
|
@ -312,6 +312,12 @@ rec {
|
|||
ln -s $i $out/bin
|
||||
done
|
||||
|
||||
# the emulator auto-linked from platform-tools does not find its local qemu, while this one does
|
||||
${lib.optionalString includeEmulator ''
|
||||
rm $out/bin/emulator
|
||||
ln -s $out/libexec/android-sdk/emulator/emulator $out/bin
|
||||
''}
|
||||
|
||||
# Write licenses
|
||||
mkdir -p licenses
|
||||
${lib.concatMapStrings (licenseName:
|
||||
|
|
Loading…
Reference in a new issue