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

Closes: #38 [via git-merge-pr]
  • Loading branch information
psanford committed Nov 22, 2023
1 parent f6dbbad commit 7b568ac
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 7b568ac

Please sign in to comment.