summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2023-09-04 18:53:40 +0800
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-05 19:50:43 -0400
commit3d351a631bcbf3fc3d072cb9395ef4b1ceb16b3d (patch)
tree773117ee92530ed8a91d3b0e9f0489bb4a3abec1
parent9809f27657a6a16a4bbb45d8b571a6f92e6e2117 (diff)
downloadguix-3d351a631bcbf3fc3d072cb9395ef4b1ceb16b3d.tar.gz
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>
-rw-r--r--gnu/packages/ibus.scm7
1 files changed, 7 insertions, 0 deletions
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