lilyp pushed a commit to branch emacs-team in repository guix. commit f91f87ebc2d701d7421e42cbb4b297aeef69c005 Author: Liliana Marie Prikler <liliana.prik...@gmail.com> 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 96dbd8bcb1..d95bcee148 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -25983,10 +25983,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