guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/07: gnu: emacs-org: Fix native builds.


From: guix-commits
Subject: 06/07: gnu: emacs-org: Fix native builds.
Date: Fri, 1 Mar 2024 14:38:37 -0500 (EST)

lilyp pushed a commit to branch emacs-team
in repository guix.

commit 6c43744210652d4031a4ca0dd5b6630b6adc40e1
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Tue Feb 13 19:30:50 2024 +0100

    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
---
 gnu/packages/emacs-xyz.scm | 4 ++++
 1 file changed, 4 insertions(+)

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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]