We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacc41e commit 30e9aa5Copy full SHA for 30e9aa5
shell.nix
@@ -1,6 +1,8 @@
1
{ pkgs ? import <nixpkgs> { }
2
, android ? fetchTarball "https://github.com/tadfisher/android-nixpkgs/archive/refs/tags/2024-04-02.tar.gz"
3
-, use_android ? true }:
+, use_android ? true
4
+, android_emulator ? false
5
+}:
6
with pkgs;
7
8
let
@@ -13,9 +15,8 @@ let
13
15
build-tools-34-0-0
14
16
platform-tools
17
platforms-android-30
- emulator
18
ndk-24-0-8215888
- ]);
19
+ ] ++ lib.optional android_emulator [emulator]);
20
21
android-sdk-path = "${android-sdk.out}/share/android-sdk";
22
android-ndk-path = "${android-sdk-path}/ndk/${ndk-version}";
0 commit comments