nix: add shell config

This commit is contained in:
Harsh Shandilya 2022-04-14 15:53:48 +05:30
parent e751361b1d
commit 45e6684f9c
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

8
shell.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> { config.android_sdk.accept_license = true; } }:
(pkgs.buildFHSUserEnv {
name = "android-sdk-env";
targetPkgs = pkgs:
(with pkgs; [ androidenv.androidPkgs_9_0.androidsdk gradle glibc zlib ]);
runScript = "bash";
}).env