gnu: emacs-plz: Patch path to curl.

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

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Michael Rohleder 2022-10-22 20:43:14 +02:00 committed by Nicolas Goaziou
parent 2727cebef3
commit 5b8b38d33a
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -17203,6 +17203,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