wrapType2
pkgs.appimageTools.wrapType2
Docs pulled from | This Revision | 17 minutes ago
Contribute
Enhance the ecosystem with your expertise! Contribute to fill the gaps in documentation. Your input can make a difference.
Noogle detected
Implementation
The following is the current implementation of this function.
args@{
src,
extraPkgs ? pkgs: [ ],
...
}:
wrapAppImage (
args
// {
inherit extraPkgs;
src = extract (
lib.filterAttrs (
key: value:
builtins.elem key [
"pname"
"version"
"src"
]
) args
);
# passthru src to make nix-update work
# hack to keep the origin position (unsafeGetAttrPos)
passthru =
lib.pipe args [
lib.attrNames
(lib.remove "src")
(removeAttrs args)
]
// args.passthru or { };
}
)