mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: ibus: Disable registry cache.
Fixes <https://issues.guix.gnu.org/22707>. * gnu/packages/ibus.scm (ibus)[arguments]: Add 'disable-registry-cache' phase. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
67c705f481
commit
9809f27657
1 changed files with 6 additions and 0 deletions
|
@ -241,6 +241,12 @@ (define-public ibus
|
||||||
#$flags))
|
#$flags))
|
||||||
((#:phases phases '%standard-phases)
|
((#:phases phases '%standard-phases)
|
||||||
#~(modify-phases #$phases
|
#~(modify-phases #$phases
|
||||||
|
(add-after 'unpack 'disable-registry-cache
|
||||||
|
;; IBus registry cache depends on mtime, which doesn't work on
|
||||||
|
;; Guix.
|
||||||
|
(lambda _
|
||||||
|
(substitute* "bus/main.c"
|
||||||
|
(("ibus_init") "g_cache = \"none\"; ibus_init"))))
|
||||||
(replace 'wrap-with-additional-paths
|
(replace 'wrap-with-additional-paths
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; Make sure 'ibus-setup' and 'ibus-daemon' runs with the
|
;; Make sure 'ibus-setup' and 'ibus-daemon' runs with the
|
||||||
|
|
Loading…
Reference in a new issue