lilyp pushed a commit to branch emacs-team
in repository guix.
commit a8d29560c3f34cb259a5464069d0100b9c9140f5
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Sun Mar 23 10:36:19 2025 +0100
gnu: emacs-org-make-toc: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-org-make-toc)[source]: Unbundle
makem.sh.
[arguments]: Disable tests. Add phase to symlink makem.sh.
[native-inputs]: Add makem-minimal and util-linux.
---
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 feb0ccd23d..a33bf03b70 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25577,10 +25577,20 @@ work Nicolas Rougier.")
(file-name (git-file-name name version))
(sha256
(base32
- "0b3ixh8cqp9id1q1h2l6pl05n7vzk7ffp3ms5kxg8bvbn1l3c77l"))))
+ "0b3ixh8cqp9id1q1h2l6pl05n7vzk7ffp3ms5kxg8bvbn1l3c77l"))
+ (snippet #~(delete-file "makem.sh"))))
(build-system emacs-build-system)
+ (arguments
+ (list #:tests? #f ; tests exist but cannot be run…
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'inject-makem
+ (lambda* (#:key inputs #:allow-other-keys)
+ (symlink (search-input-file inputs "/bin/makem.sh")
+ "makem.sh"))))))
(propagated-inputs
(list emacs-compat emacs-dash emacs-org emacs-s))
+ (native-inputs (list makem-minimal util-linux))
(home-page "https://github.com/alphapapa/org-make-toc")
(synopsis "Maintain a table of contents for an Org file")
(description "This package facilitates the creation and maintenance of