3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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.
This commit is contained in:
Marius Bakke 2020-03-27 15:24:02 +01:00
parent cfa6666921
commit a3efa4f9eb
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

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