appimageTools: small simplification

This commit is contained in:
Will Dietz 2019-02-23 18:19:50 -06:00
parent 843d5b05ef
commit 1c06590fa9

View File

@ -49,12 +49,10 @@ rec {
} // (removeAttrs args (builtins.attrNames (builtins.functionArgs wrapAppImage))));
wrapType1 = args@{ name, src, extraPkgs ? pkgs: [], ... }: wrapAppImage (args // {
inherit name extraPkgs;
src = extractType1 { inherit name src; };
});
wrapType2 = args@{ name, src, extraPkgs ? pkgs: [], ... }: wrapAppImage (args // {
inherit name extraPkgs;
src = extractType2 { inherit name src; };
});