mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 03:44:06 -05:00
gnu: emacs-rime: Adjust to changes in emacs-build-system.
* gnu/packages/emacs-xyz.scm (emacs-rime):[arguments]: Use #:include rather than #:phases to add librime-emacs.so. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
This commit is contained in:
parent
a3df382525
commit
bb29c26572
1 changed files with 4 additions and 8 deletions
|
@ -97,6 +97,7 @@
|
||||||
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
|
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
|
||||||
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
||||||
;;; Copyright © 2021 Eugene Klimov <lipklim@mailbox.org>
|
;;; Copyright © 2021 Eugene Klimov <lipklim@mailbox.org>
|
||||||
|
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -25720,7 +25721,8 @@ (define-public emacs-rime
|
||||||
(base32 "1a50cziwg7lpgh26yvwxs46jfyfq1m0l6igbg5g5m288mz4d3an9"))))
|
(base32 "1a50cziwg7lpgh26yvwxs46jfyfq1m0l6igbg5g5m288mz4d3an9"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:include (cons "\\.so$" %default-include)
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-rime-data-path
|
(add-after 'unpack 'patch-rime-data-path
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
@ -25732,13 +25734,7 @@ (define-public emacs-rime
|
||||||
#t))
|
#t))
|
||||||
(add-before 'install 'build-emacs-module
|
(add-before 'install 'build-emacs-module
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "make" "lib")))
|
(invoke "make" "lib"))))))
|
||||||
(add-after 'install 'install-emacs-module
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(install-file "librime-emacs.so"
|
|
||||||
(string-append (assoc-ref outputs "out")
|
|
||||||
"/share/emacs/site-lisp"))
|
|
||||||
#t)))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("librime" ,librime)
|
`(("librime" ,librime)
|
||||||
("rime-data" ,rime-data)))
|
("rime-data" ,rime-data)))
|
||||||
|
|
Loading…
Reference in a new issue