diff options
author | Yueh-Shun Li <shamrocklee@posteo.net> | 2024-02-24 00:04:10 +0800 |
---|---|---|
committer | Yueh-Shun Li <shamrocklee@posteo.net> | 2024-04-25 13:15:47 +0800 |
commit | ae8ede5a9739f7ab3850f3898cf0c89e4b681cfa (patch) | |
tree | c8fe3dd86df9d63884d4c293c5cb3faaabb6fc93 /pkgs/applications/video/losslesscut-bin | |
parent | 6b78a949091c51385c46c7e8e7ce9293b5098fc8 (diff) |
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
Diffstat (limited to 'pkgs/applications/video/losslesscut-bin')
-rw-r--r-- | pkgs/applications/video/losslesscut-bin/build-from-appimage.nix | 4 |
1 files changed, 1 insertions, 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 776950d51ecc1..1317536f3cf55 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; } |