mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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>
This commit is contained in:
parent
56d9745d81
commit
cc26f737d1
1 changed files with 10 additions and 0 deletions
|
@ -233,6 +233,16 @@ (define-public emacs-minimal
|
||||||
(("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process)
|
(("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process)
|
||||||
(format #f "(or ~a (tramp-compat-process-running-p ~s))"
|
(format #f "(or ~a (tramp-compat-process-running-p ~s))"
|
||||||
all (string-append "." process "-real"))))))
|
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
|
(add-before 'configure 'fix-/bin/pwd
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Use `pwd', not `/bin/pwd'.
|
;; Use `pwd', not `/bin/pwd'.
|
||||||
|
|
Loading…
Reference in a new issue