pinentry: remove qt5.mkDerivation usage

Part of #180841

wrapQtAppsHook appears to already
have been added when building this for
 qt5, thanks to flavorInfo.
This commit is contained in:
Tomo 2024-10-14 07:20:08 +00:00
parent a3c0b3b215
commit b99dfb1cc7

View File

@ -62,11 +62,8 @@ let
let
enableFeaturePinentry =
f: lib.enableFeature (lib.elem f buildFlavors) ("pinentry-" + flavorInfo.${f}.flag);
pinentryMkDerivation =
if (lib.elem "qt5" buildFlavors) then libsForQt5.mkDerivation else stdenv.mkDerivation;
in
pinentryMkDerivation rec {
stdenv.mkDerivation rec {
pname = "pinentry-${pinentryExtraPname}";
version = "1.3.1";