From 3d351a631bcbf3fc3d072cb9395ef4b1ceb16b3d Mon Sep 17 00:00:00 2001
From: 宋文武 <iyzsong@member.fsf.org>
Date: Mon, 4 Sep 2023 18:53:40 +0800
Subject: gnu: ibus: Add search-path for 'GUIX_GTK3_IM_MODULE_FILE'.

* gnu/packages/ibus.scm (ibus)[native-search-paths]: Add 'GUIX_GTK3_IM_MODULE_FILE'.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
 gnu/packages/ibus.scm | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'gnu')

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 62323ece6f..1e01bb0ea3 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -269,6 +269,13 @@ may also simplify input method development.")
                        python
                        python-dbus
                        python-pygobject)))
+    (native-search-paths
+     (cons (search-path-specification
+            (variable "GUIX_GTK3_IM_MODULE_FILE")
+            (file-type 'regular)
+            (separator #f)
+            (files '("lib/gtk-3.0/3.0.0/immodules-gtk3.cache")))
+           (package-native-search-paths ibus-minimal)))
     (properties (alist-delete 'hidden? (package-properties ibus-minimal)))))
 
 (define-public ibus-libpinyin
-- 
cgit v1.2.3