efraim pushed a commit to branch master
in repository guix.

commit 2b1ae1cffc6a94935c2501c393ee210c2cf68c16
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Sep 27 15:37:54 2023 +0300

    gnu: emacs-elfeed: Patch curl executable.
    
    Reported by bienjensu on IRC.
    
    * gnu/packages/emacs-xyz.scm (emacs-elfeed)[arguments]: Add a phase to
    patch a call to the curl binary.
    [inputs]: Add curl.
---
 gnu/packages/emacs-xyz.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d19f8e9f81..1f2334e409 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13856,7 +13856,16 @@ and tooling.")
     (build-system emacs-build-system)
     (arguments
      `(#:tests? #t
-       #:test-command '("make" "test")))
+       #:test-command '("make" "test")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-program-calls
+           (lambda* (#:key inputs #:allow-other-keys)
+             (emacs-substitute-variables "elfeed-curl.el"
+               ("elfeed-curl-program-name"
+                (search-input-file inputs "/bin/curl"))))))))
+    (inputs
+     (list curl))
     (home-page "https://github.com/skeeto/elfeed";)
     (synopsis "Atom/RSS feed reader for Emacs")
     (description

Reply via email to