aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-03-27 15:24:02 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-03-27 15:24:02 +0100
commita3efa4f9eb11b8dc08ab154931ef2a2ef14c0ab7 (patch)
treeebcf906ac816f0878f8e1caa3c943866886ce680
parentcfa6666921e8077884ffb3707ce8323b01f5d345 (diff)
downloadpatches-a3efa4f9eb11b8dc08ab154931ef2a2ef14c0ab7.tar
patches-a3efa4f9eb11b8dc08ab154931ef2a2ef14c0ab7.tar.gz
gnu: emacs: Fix format strings for compatibility with Guile 3.
* gnu/packages/emacs.scm (emacs)[arguments]: In the 'patch-program-file-names' and 'install-site-start' phases, specify port in the calls to FORMAT.
-rw-r--r--gnu/packages/emacs.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index fa420cacf7..0938dabf1e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -139,7 +139,7 @@
"lisp/textmodes/artist.el"
"lisp/progmodes/sh-script.el")
(("\"/bin/sh\"")
- (format "~s" (which "sh"))))
+ (format #f "~s" (which "sh"))))
#t))
(add-before 'configure 'fix-/bin/pwd
(lambda _
@@ -163,7 +163,7 @@
(byte-recompile-directory
(file-name-as-directory ,dir) 0 1))))
(invoke emacs "--quick" "--batch"
- (format "--eval=~s" expr))))
+ (format #f "--eval=~s" expr))))
(copy-file (assoc-ref inputs "guix-emacs.el")
(string-append lisp-dir "/guix-emacs.el"))