Commit ae8ede5a authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

losslesscut-bin.x86_64-appimage: fix overriding

Pass attributes `pname` and `version` directly into appimage.wrapType2,
instead of attribute set update ('//'), to ensure that they survive
across overriding.

This is possible as the pname-version passing of buildFHSEnvBubblewrap,
buildFHSEnv, and appimageTools.wrapAppImage is fixed.[1]

[1]: https://github.com/NixOS/nixpkgs/pull/271071
parent 6b78a949
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ let
    inherit pname version src;
  };
in
(appimageTools.wrapType2 {
appimageTools.wrapType2 {
  inherit pname version src;

  profile = ''
@@ -52,6 +52,4 @@ in
    platforms = [ "x86_64-linux" ];
    mainProgram = "losslesscut";
  };
}) // {
  inherit pname version;
}