mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-rime: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-rime)[arguments]: Add #:test-command. <#:phases>: Add ‘pre-check’.
This commit is contained in:
parent
f0b447de99
commit
033903a07b
1 changed files with 7 additions and 1 deletions
|
@ -39210,6 +39210,7 @@ REPL appropriate to the current major mode.")
|
|||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
'(#:include (cons "\\.so$" %default-include)
|
||||
#:test-command (list "emacs" "--batch" "-l" "test.el")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-rime-data-path
|
||||
|
@ -39221,7 +39222,12 @@ REPL appropriate to the current major mode.")
|
|||
"share/rime-data")))))
|
||||
(add-before 'install 'build-emacs-module
|
||||
(lambda _
|
||||
(invoke "make" "lib"))))))
|
||||
(invoke "make" "lib")))
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(setenv "HOME" (getenv "TMPDIR"))
|
||||
(mkdir-p (string-append (getenv "HOME")
|
||||
"/.emacs.d/rime")))))))
|
||||
(inputs
|
||||
(list librime rime-data))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue