pinentry: remove qt5.mkDerivation usage (#348468)

This commit is contained in:
Robert Hensing
2024-10-14 20:57:59 +02:00
committed by GitHub
+1 -4
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";