unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58722] [PATCH] gnu: emacs-plz: Patch path to curl.
@ 2022-10-22 18:43 Michael Rohleder
  2022-10-30  9:38 ` bug#58722: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2022-10-22 18:43 UTC (permalink / raw)
  To: 58722; +Cc: Michael Rohleder

* gnu/packages/emacs-xyz.scm (emacs-plz)[arguments]: Add phase substitute-curl-path.
---
 gnu/packages/emacs-xyz.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 06ec9dd904..117c5a09aa 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17142,6 +17142,15 @@ (define-public emacs-plz
         (base32 "0p0xd532xa8icysyxwqk481lr9xanmp68gf97fd9n2936gp12chv"))))
     (build-system emacs-build-system)
     (inputs (list curl))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'substitute-curl-path
+            (lambda* (#:key inputs #:allow-other-keys)
+              (make-file-writable "plz.el")
+              (emacs-substitute-variables "plz.el"
+                ("plz-curl-program" (search-input-file inputs "/bin/curl"))))))))
     (home-page "https://github.com/alphapapa/plz.el")
     (synopsis "HTTP library for Emacs")
     (description
-- 
2.38.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#58722: [PATCH] gnu: emacs-plz: Patch path to curl.
  2022-10-22 18:43 [bug#58722] [PATCH] gnu: emacs-plz: Patch path to curl Michael Rohleder
@ 2022-10-30  9:38 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-10-30  9:38 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 58722-done

Hello,

Michael Rohleder <mike@rohleder.de> writes:

> * gnu/packages/emacs-xyz.scm (emacs-plz)[arguments]: Add phase
> substitute-curl-path.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-30  9:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-22 18:43 [bug#58722] [PATCH] gnu: emacs-plz: Patch path to curl Michael Rohleder
2022-10-30  9:38 ` bug#58722: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).