Skip to content

Commit

Permalink
Set BUILDTOOLS env in shell.nix
Browse files Browse the repository at this point in the history
The Makefile looks for this env var to find zipalign
  • Loading branch information
psanford committed Nov 22, 2023
1 parent 5d6a8c3 commit f54d4f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pkgs.mkShell {
shellHook = ''
export GRADLE_OPTS="-Dorg.gradle.project.android.aapt2FromMavenOverride=${androidComposition.androidsdk}/libexec/android-sdk/build-tools/${buildToolsVersion}/aapt2";
export ANDROID_SDK_ROOT="${androidComposition.androidsdk}/libexec/android-sdk"
export BUILDTOOLS="${androidComposition.androidsdk}/libexec/android-sdk/build-tools/${buildToolsVersion}/"
'';

}

0 comments on commit f54d4f0

Please sign in to comment.