1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 19:10:49 +02:00

gnu: emacs-elisp-autofmt: Refer to an explicit Python.

* gnu/packages/emacs-xyz.scm (emacs-elisp-autofmt)[arguments]<#:phases>[patch-dependencies]:
Refer to an explicit Python.

Change-Id: I1ed78a5d70ce7f61195b08b94dd00f314c1e5145
This commit is contained in:
Danny Milosavljevic 2025-05-10 12:29:46 +02:00
parent 1c50758fa7
commit bcdd09db8e
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -375,6 +375,13 @@ buffer, a file on your disk, or a string from the kill ring.")
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-dependencies
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "elisp-autofmt.el"
(("\"python\"")
(string-append "\""
(search-input-file inputs "/bin/python3")
"\"")))))
(add-after 'install 'install-python-module
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((destination (elpa-directory (assoc-ref outputs "out"))))