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)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:include (cons "\\.so$" %default-include)
|
'(#:include (cons "\\.so$" %default-include)
|
||||||
|
#:test-command (list "emacs" "--batch" "-l" "test.el")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-rime-data-path
|
(add-after 'unpack 'patch-rime-data-path
|
||||||
|
@ -39221,7 +39222,12 @@ REPL appropriate to the current major mode.")
|
||||||
"share/rime-data")))))
|
"share/rime-data")))))
|
||||||
(add-before 'install 'build-emacs-module
|
(add-before 'install 'build-emacs-module
|
||||||
(lambda _
|
(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
|
(inputs
|
||||||
(list librime rime-data))
|
(list librime rime-data))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue