androidenv: rename android sdk package name

This commit is contained in:
Hadi 2023-05-22 13:13:30 -04:00 committed by Bjørn Forsman
parent 46142aa61c
commit 9f959e7154

View File

@ -60,7 +60,7 @@ let
in
stdenv.mkDerivation ({
inherit buildInputs;
pname = lib.concatMapStringsSep "-" (package: package.name) sortedPackages;
pname = "android-sdk-${lib.concatMapStringsSep "-" (package: package.name) sortedPackages}";
version = lib.concatMapStringsSep "-" (package: package.revision) sortedPackages;
src = map (package:
if os != null && builtins.hasAttr os package.archives then package.archives.${os} else package.archives.all