mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-19 05:04:08 +00:00
Jakub Sokołowski
939ce8bef5
This makes use of the refactoring of Android SDK done in: https://github.com/NixOS/nixpkgs/pull/89775 Which allows us to drop the use of our own fork of `nixpkgs`. Android Upgrades: * Build Tools - `29.0.2` to `30.0.3` * Platform Tools - `29.0.6` to `30.0.5` * NDK Bundle - `21.0.6113669` to `21.3.6528147` Other Upgrades: * Git - `2.28.0` to `2.29.2` * Go - `1.14.7` to `1.14.13` * Clojure - `1.10.1.645` to `1.10.1.763` * NodeJS - `12.18.3` to `12.20.1` * Yarn - `1.22.4` to `1.22.10` * OpenJDK - `8u265-ga` to `8u272-b10` * PatchElf - `0.11` to `0.12` * CoreUtils - `8.31` to `8.32` Signed-off-by: Jakub Sokołowski <jakub@status.im>
18 lines
434 B
Nix
18 lines
434 B
Nix
{ stdenv, compose }:
|
|
|
|
#
|
|
# This derivation simply symlinks some stuff to get
|
|
# shorter paths as libexec/android-sdk is quite the mouthful.
|
|
#
|
|
stdenv.mkDerivation {
|
|
name = "${compose.androidsdk.name}-mod";
|
|
phases = [ "symlinkPhase" ];
|
|
symlinkPhase = ''
|
|
mkdir -p $out
|
|
ln -s "${compose.androidsdk}/bin" $out/bin
|
|
for d in ${compose.androidsdk}/libexec/android-sdk/*; do
|
|
ln -s $d $out/$(basename $d)
|
|
done
|
|
'';
|
|
}
|