guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-minimal: Do not native-compile lisp/tr


From: guix-commits
Subject: branch master updated: gnu: emacs-minimal: Do not native-compile lisp/transient.el.
Date: Tue, 03 Sep 2024 15:37:31 -0400

This is an automated email from the git hooks/post-receive script.

lilyp pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new cc26f737d1 gnu: emacs-minimal: Do not native-compile lisp/transient.el.
cc26f737d1 is described below

commit cc26f737d1e7705bb0f002745eb4eebd1ac96c1f
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Tue Sep 3 16:57:48 2024 +0200

    gnu: emacs-minimal: Do not native-compile lisp/transient.el.
    
    * gnu/packages/emacs.scm (emacs-minimal)[#:phases]: Add
    ‘disable-native-compilation’ to turn off native-compilation
    for the file lisp/transient.el.
    
    Change-Id: I27c9d660cbad46be66df641816e4596346969dfc
    Fixes: transient-prefix-object is void <https://issues.guix.gnu.org/72333>.
    Reported-by: Daniel Szmulewicz <daniel.szmulewicz@gmail.com>
    Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
 gnu/packages/emacs.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f1ea4fe061..3ce01f1a24 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -233,6 +233,16 @@
                 (("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process)
                  (format #f "(or ~a (tramp-compat-process-running-p ~s))"
                          all (string-append "." process "-real"))))))
+          (add-after 'unpack 'disable-native-compilation
+            (lambda _
+              ;; Temporary workaround to prevent the behaviour discussed in
+              ;; <https://issues.guix.gnu.org/72333>.
+              ;; Please remove once the native-compilation for Emacs packages
+              ;; is fully supported.
+              (substitute* "lisp/transient.el"
+                ((";; End:")
+                 ";; no-native-compile: t
+;; End:"))))
           (add-before 'configure 'fix-/bin/pwd
             (lambda _
               ;; Use `pwd', not `/bin/pwd'.



reply via email to

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