mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-org-pandoc-import: Use search-input-file.
* gnu/packages/emacs-xyz.scm (emacs-org-pandoc-import): [arguments]<phases>: Improve 'patch-exec-paths phase. Use emacs-substitute-variables instead of substitute*. Use search-input-file. Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
parent
3db9efb5a6
commit
77fb67f5a4
1 changed files with 3 additions and 4 deletions
|
@ -13224,10 +13224,9 @@ Features degrade gracefully when viewed from terminal.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-exec-paths
|
(add-after 'unpack 'patch-exec-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((pandoc (assoc-ref inputs "pandoc")))
|
(emacs-substitute-variables "org-pandoc-import.el"
|
||||||
(substitute* "org-pandoc-import.el"
|
("org-pandoc-import-executable"
|
||||||
(("\"pandoc\"")
|
(search-input-file inputs "bin/pandoc"))))))))
|
||||||
(string-append "\"" pandoc "/bin/pandoc\"")))))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list pandoc))
|
(list pandoc))
|
||||||
(home-page "https://github.com/tecosaur/org-pandoc-import/")
|
(home-page "https://github.com/tecosaur/org-pandoc-import/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue