From 3775cc7a074154c8a42311e0d2c5f0c46cd4e867 Mon Sep 17 00:00:00 2001 From: SkohTV Date: Tue, 27 Oct 2026 21:28:49 +0100 Subject: [PATCH] uim: add gtk4 support --- pkgs/by-name/ui/uim/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ui/uim/package.nix b/pkgs/by-name/ui/uim/package.nix index d6aa92ba7f4c..7c026f885d0e 100644 --- a/pkgs/by-name/ui/uim/package.nix +++ b/pkgs/by-name/ui/uim/package.nix @@ -20,6 +20,8 @@ withGtk ? true, withGtk3 ? withGtk, gtk3, + withGtk4 ? withGtk, + gtk4, # Was never enabled in the history of this package and is not needed by any # dependent package, hence disabled to save up closure size. withQt ? false, @@ -75,6 +77,7 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optional withAnthy anthy ++ lib.optional withGtk3 gtk3 + ++ lib.optional withGtk4 gtk4 ++ lib.optionals withQt5 [ qt5.qtbase qt5.qtx11extras @@ -110,6 +113,7 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optional withAnthy "--with-anthy-utf8" ++ lib.optional withGtk3 "--with-gtk3" + ++ lib.optional withGtk4 "--with-gtk4" ++ lib.optionals withQt5 [ "--with-qt5" "--with-qt5-immodule"