appimageTools.wrapType2: passthru src to make nix-update work

This commit is contained in:
figsoda 2022-11-25 21:36:32 -05:00
parent 9ecb3b8e44
commit e2b62ea76c

View file

@ -61,6 +61,14 @@ rec {
(args // {
inherit name extraPkgs;
src = extract { inherit name src; };
# 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 { };
});
defaultFhsEnvArgs = {