aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2024-02-13 19:30:50 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2024-02-24 08:08:32 +0100
commit6c43744210652d4031a4ca0dd5b6630b6adc40e1 (patch)
tree66d37aef4b04d6259b123d304d7b75d6279871cd
parent56a7c1308a1f1601299b8c7706fb4d00d5c185d0 (diff)
downloadguix-6c43744210652d4031a4ca0dd5b6630b6adc40e1.tar
guix-6c43744210652d4031a4ca0dd5b6630b6adc40e1.tar.gz
gnu: emacs-org: Fix native builds.
* gnu/packages/emacs-xyz.scm (emacs-org)[#:phases]: Wrap ‘build’ in a directory excursion to the actual lisp directory. Change-Id: Ifa10f9e91fe21cd4c34da11b68ddb77a03d847ca
-rw-r--r--gnu/packages/emacs-xyz.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index fc3c9e00be..e2aebe971e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16752,6 +16752,10 @@ passive voice.")
(substitute* "testing/lisp/test-org.el"
(("test-org/org-(encode-time|time-string-to-time) .*" all)
(string-append all " (skip-unless nil)\n")))))
+ (replace 'build
+ (lambda args
+ (with-directory-excursion "lisp"
+ (apply (assoc-ref %standard-phases 'build) args))))
(replace 'install
(lambda _
(let ((elpa (elpa-directory #$output))