deployAndroidPackage: Use pname and version

This commit is contained in:
John Ericson 2020-09-08 09:31:18 -04:00
parent 204dc3a88b
commit 4c489b5f5d

View File

@ -5,7 +5,8 @@ let
extraParams = removeAttrs args [ "package" "os" "buildInputs" "patchInstructions" ];
in
stdenv.mkDerivation ({
name = package.name + "-" + package.revision;
pname = package.name;
version = package.revision;
src = if os != null && builtins.hasAttr os package.archives then package.archives.${os} else package.archives.all;
buildInputs = [ unzip ] ++ buildInputs;
preferLocalBuild = true;