diff options
| author | Simon Tournier <zimon.toutoune@gmail.com> | 2024-09-03 16:57:48 +0200 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-09-03 21:37:05 +0200 |
| commit | cc26f737d1e7705bb0f002745eb4eebd1ac96c1f (patch) | |
| tree | bb923040a32ea7b64a3e3ddac61c01c0005a3c75 /gnu | |
| parent | 56d9745d81ea2d0464ed94fc9b3ba0205619835e (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/emacs.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index f1ea4fe0612..3ce01f1a248 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm | |||
| @@ -233,6 +233,16 @@ | |||
| 233 | (("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process) | 233 | (("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process) |
| 234 | (format #f "(or ~a (tramp-compat-process-running-p ~s))" | 234 | (format #f "(or ~a (tramp-compat-process-running-p ~s))" |
| 235 | all (string-append "." process "-real")))))) | 235 | all (string-append "." process "-real")))))) |
| 236 | (add-after 'unpack 'disable-native-compilation | ||
| 237 | (lambda _ | ||
| 238 | ;; Temporary workaround to prevent the behaviour discussed in | ||
| 239 | ;; <https://issues.guix.gnu.org/72333>. | ||
| 240 | ;; Please remove once the native-compilation for Emacs packages | ||
| 241 | ;; is fully supported. | ||
| 242 | (substitute* "lisp/transient.el" | ||
| 243 | ((";; End:") | ||
| 244 | ";; no-native-compile: t | ||
| 245 | ;; End:")))) | ||
| 236 | (add-before 'configure 'fix-/bin/pwd | 246 | (add-before 'configure 'fix-/bin/pwd |
| 237 | (lambda _ | 247 | (lambda _ |
| 238 | ;; Use `pwd', not `/bin/pwd'. | 248 | ;; Use `pwd', not `/bin/pwd'. |
