This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new f5d7b5ddc6 gnu: emacs-python-black: Fix exec paths.
f5d7b5ddc6 is described below
commit f5d7b5ddc65b383ac8984149c04b1164820b91bf
Author: Cayetano Santos <[email protected]>
AuthorDate: Wed Feb 4 18:42:59 2026 +0100
gnu: emacs-python-black: Fix exec paths.
* gnu/packages/emacs-xyz.scm (emacs-python-black)[arguments]: Add
’patch-exec-paths #:phase.
Change-Id: Iac041ab369fd66951edb17f174fae94d1f56b8a8
---
gnu/packages/emacs-xyz.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3a76521409..c54f61764c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13326,7 +13326,17 @@ Python documentation with @code{pydoc} in Emacs.")
(build-system emacs-build-system)
(propagated-inputs
(list emacs-dash emacs-reformatter python-black-macchiato))
- (arguments `(#:tests? #f))
+ (arguments
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-exec-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "python-black.el"
+ ("python-black-command"
+ (search-input-file inputs "bin/black"))
+ ("python-black-macchiato-command"
+ (search-input-file inputs "bin/black-macchiato"))))))))
(home-page "https://github.com/wbolster/emacs-python-black")
(synopsis "Reformat Python code via @code{python-black}")
(description