Commit e2b62ea7 authored by figsoda's avatar figsoda
Browse files

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

parent 9ecb3b8e
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 = {