From 81983341fa4ef39fff2b0d8a18fc7c071a9bf924 Mon Sep 17 00:00:00 2001 From: eryngion Date: Wed, 10 Jan 2024 00:38:14 +0000 Subject: [PATCH] qt5.qtbase: remove the unused withQttranslation parameter --- pkgs/development/libraries/qt-5/modules/qtbase.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/libraries/qt-5/modules/qtbase.nix b/pkgs/development/libraries/qt-5/modules/qtbase.nix index 5e39b035877e..028b9e4e2d93 100644 --- a/pkgs/development/libraries/qt-5/modules/qtbase.nix +++ b/pkgs/development/libraries/qt-5/modules/qtbase.nix @@ -56,7 +56,6 @@ withGtk3 ? false, dconf, gtk3, - withQttranslation ? true, qttranslations ? null, withLibinput ? false, libinput, @@ -492,8 +491,7 @@ stdenv.mkDerivation ( "-I" "${libmysqlclient}/include" ] - ++ lib.optional (withQttranslation && (qttranslations != null)) [ - # depends on x11 + ++ lib.optional (qttranslations != null) [ "-translationdir" "${qttranslations}/translations" ]