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
This commit is contained in:
parent
6b78a94909
commit
ae8ede5a97
|
@ -22,7 +22,7 @@ let
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
(appimageTools.wrapType2 {
|
appimageTools.wrapType2 {
|
||||||
inherit pname version src;
|
inherit pname version src;
|
||||||
|
|
||||||
profile = ''
|
profile = ''
|
||||||
|
@ -52,6 +52,4 @@ in
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
mainProgram = "losslesscut";
|
mainProgram = "losslesscut";
|
||||||
};
|
};
|
||||||
}) // {
|
|
||||||
inherit pname version;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user