Unverified Commit 4e86ddcd authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #202957 from figsoda/appimage

appimageTools.wrapType2: passthru src to make nix-update work
parents e0220319 e2b62ea7
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 = {