summaryrefslogtreecommitdiff
path: root/gnu/packages/xorg.scm
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-02-22 22:06:06 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-03-13 13:43:06 +0530
commitd5b0aa99f8d339b13dbea504bdb9a230e59915a0 (patch)
treeb9b3167f5aeee0ead303c44b033f6da0f02a3ace /gnu/packages/xorg.scm
parentacf6168b5dd1d5f03ad22966b27540d4457d2863 (diff)
downloadpatches-d5b0aa99f8d339b13dbea504bdb9a230e59915a0.tar
patches-d5b0aa99f8d339b13dbea504bdb9a230e59915a0.tar.gz
gnu: uim: Use emacs-substitute-variables instead of substitute*.
* gnu/packages/xorg.scm (uim)[arguments]: In the configure-uim-el phase, use emacs-substitute-variables instead of substitute*.
Diffstat (limited to 'gnu/packages/xorg.scm')
-rw-r--r--gnu/packages/xorg.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index a7ba6fe9eb..2bf920b20d 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -6145,10 +6145,10 @@ X11 servers, Windows, or macOS.")
;; Set path of uim-el-agent and uim-el-helper-agent executables
(add-after 'configure 'configure-uim-el
(lambda* (#:key outputs #:allow-other-keys)
- (substitute* "emacs/uim-var.el"
- (("\"(uim-el-agent|uim-el-helper-agent)\"" _ executable)
- (string-append "\"" (assoc-ref outputs "out")
- "/bin/" executable "\"")))
+ (let ((out (assoc-ref outputs "out")))
+ (emacs-substitute-variables "emacs/uim-var.el"
+ ("uim-el-agent" (string-append out "/bin/uim-el-agent"))
+ ("uim-el-helper-agent" (string-append out "/bin/uim-el-helper-agent"))))
#t))
;; Fix installation path by renaming share/emacs/uim-el to
;; share/emacs/site-lisp