From ae8ede5a9739f7ab3850f3898cf0c89e4b681cfa Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Sat, 24 Feb 2024 00:04:10 +0800 Subject: [PATCH] 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 --- .../video/losslesscut-bin/build-from-appimage.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix b/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix index 776950d51ecc..1317536f3cf5 100644 --- a/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix +++ b/pkgs/applications/video/losslesscut-bin/build-from-appimage.nix @@ -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; }