mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: ibus-rime: Record the right file name in "rime.xml".
* gnu/packages/ibus.scm (ibus-rime)[arguments]: Add 'fix-file-names' phase. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
6a7c4636d4
commit
562b4e47cd
1 changed files with 7 additions and 0 deletions
|
@ -669,6 +669,13 @@ (define-public ibus-rime
|
|||
(assoc-ref inputs "rime-data")
|
||||
"/share/rime-data\"\n")))
|
||||
#t))
|
||||
(add-after 'unpack 'fix-file-names
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; IBus uses the component file rime.xml to start the Rime
|
||||
;; engine. It must be patched with appropriate file names.
|
||||
(substitute* "rime.xml"
|
||||
(("/usr") (assoc-ref outputs "out")))
|
||||
#t))
|
||||
(delete 'configure))))
|
||||
(inputs
|
||||
`(("gdk-pixbuf" ,gdk-pixbuf)
|
||||
|
|
Loading…
Reference in a new issue