Revert "appimageTools: small simplification"

This reverts commit 1c06590fa9.
This commit is contained in:
Will Dietz 2019-04-28 09:41:31 -05:00
parent 3fce35fde2
commit 7bd31a322f

View file

@ -49,10 +49,12 @@ 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; };
});