keepassxc: Wrap once

Using Qt *and* GTK means both wrapper hooks kick in, so avoid automatic
GTK wrapping and merge arguments into Qt ones as usual.

Duplicate wrapping must be avoided as it breaks the program's basename,
e.g. `argv[0]` ends up with ".keepassxc-wrapped" rather than
"keepassxc" as basename.

This fixes all three ELF executables (there is `-cli` and `-proxy`).
This commit is contained in:
Klemens Nanni 2022-05-28 12:07:21 +02:00 committed by Bjørn Forsman
parent b9b548bccf
commit 1daf0125af

View File

@ -87,6 +87,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ asciidoctor cmake wrapGAppsHook wrapQtAppsHook qttools pkg-config ]; nativeBuildInputs = [ asciidoctor cmake wrapGAppsHook wrapQtAppsHook qttools pkg-config ];
dontWrapGApps = true;
postFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
buildInputs = [ buildInputs = [
curl curl
botan2 botan2