unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#60551] [PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.pyim file.
@ 2023-01-04 12:47 tumashu
  2023-01-07  0:01 ` bug#60551: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: tumashu @ 2023-01-04 12:47 UTC (permalink / raw)
  To: 60551; +Cc: Feng Shu

From: Feng Shu <tumashu@163.com>

* gnu/packages/emacs-xyz.scm (emacs-pyim-basedict) [arguments]: New field.
[#:phases]: Install pyim-basedict.pyim file.
---
 gnu/packages/emacs-xyz.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 417e9ee1f5..5ba150c815 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16624,6 +16624,17 @@ (define-public emacs-pyim-basedict
          (sha256
           (base32 "0fzyh8qmicq2vy9j1ca708ir67dpxp1cwjaw0sw469p24cvj12yy"))))
       (build-system emacs-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'install 'install-basedict-file
+              (lambda _
+                (install-file "pyim-basedict.pyim"
+                              (string-append
+                               #$output
+                               "/share/emacs/site-lisp/pyim-basedict-"
+                               #$version)))))))
       (propagated-inputs
        (list emacs-pyim))
       (home-page "https://github.com/tumashu/pyim-basedict")
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#60551: [PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.pyim file.
  2023-01-04 12:47 [bug#60551] [PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.pyim file tumashu
@ 2023-01-07  0:01 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2023-01-07  0:01 UTC (permalink / raw)
  To: tumashu; +Cc: 60551-done

Hello,

tumashu@163.com writes:

> * gnu/packages/emacs-xyz.scm (emacs-pyim-basedict) [arguments]: New field.
> [#:phases]: Install pyim-basedict.pyim file.

I modified the commit message, used #:include keyword and applied the
patch.

Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-07  0:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-04 12:47 [bug#60551] [PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.pyim file tumashu
2023-01-07  0:01 ` bug#60551: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).