Created
December 20, 2022 09:14
-
-
Save rbozan/5de3b3e5bfd5b4da7452905e4c50a190 to your computer and use it in GitHub Desktop.
Temporarily needed if Android pkgs doesn't work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> { config.android_sdk.accept_license = true; } }: | |
(pkgs.buildFHSUserEnv { | |
name = "android-sdk-env"; | |
targetPkgs = pkgs: (with pkgs; | |
[ | |
androidenv.androidPkgs_9_0.androidsdk | |
glibc | |
openjdk11 | |
nodejs | |
yarn | |
]); | |
runScript = "bash"; | |
profile = '' | |
export ANDROID_SDK_ROOT=/home/rbozan/Android/Sdk/ | |
''; | |
}).env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment