appimageTools.wrapType2: passthru src to make nix-update work
This commit is contained in:
parent
9ecb3b8e44
commit
e2b62ea76c
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue