diff options
| author | Jules Aguillon | 2021-12-14 00:13:34 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2021-12-14 00:13:34 +0100 |
| commit | 988d8db7e8a6f539a8e6f40c66df7b87571a88e9 (patch) | |
| tree | 051d0df67934d36ee52a91a6c460cb0e575a77cf /shell.nix | |
| parent | e5fa23e1f7ccc722209d4ce7f795905d5ab0eb35 (diff) | |
| download | unexpected-keyboard-988d8db7e8a6f539a8e6f40c66df7b87571a88e9.tar.gz unexpected-keyboard-988d8db7e8a6f539a8e6f40c66df7b87571a88e9.zip | |
Use apksigner for signing the apk
The Play Store now requires the "Signing Scheme V2", which is
implemented by apksigner.
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -4,6 +4,7 @@ } }: let + jdk = pkgs.openjdk8; android = pkgs.androidenv.composeAndroidPackages { buildToolsVersions = [ "30.0.3" ]; @@ -11,11 +12,12 @@ let abiVersions = [ "armeabi-v7a" ]; }; -in + apksigner = pkgs.apksigner.override { + inherit (jdk) jre; + inherit (android) build-tools; + }; -pkgs.mkShell { - buildInputs = with pkgs; [ - findutils openjdk8 android.androidsdk - ]; +in pkgs.mkShell { + buildInputs = [ pkgs.findutils jdk android.androidsdk apksigner ]; ANDROID_HOME = "${android.androidsdk}/libexec/android-sdk"; } |
