Merge pull request #202957 from figsoda/appimage

appimageTools.wrapType2: passthru src to make nix-update work
This commit is contained in:
figsoda 2022-11-27 00:17:34 -05:00 committed by GitHub
commit 4e86ddcdc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = {