androidenv: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:33:21 +00:00
parent 5cf90c3b20
commit 32e854c156
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ pkgs ? import <nixpkgs> {}
{ config, pkgs ? import <nixpkgs> {}
, pkgs_i686 ? import <nixpkgs> { system = "i686-linux"; }
, licenseAccepted ? false
, licenseAccepted ? config.android_sdk.accept_license or false
}:
rec {

View File

@ -783,7 +783,6 @@ in
androidenv = callPackage ../development/mobile/androidenv {
pkgs_i686 = pkgsi686Linux;
licenseAccepted = config.android_sdk.accept_license or false;
};
androidndkPkgs = androidndkPkgs_18b;