gnu: emacs-piem: Do not propagate B4.

* gnu/packages/emacs-xyz.scm (emacs-piem)[arguments]: Add CONFIGURE phase to
avoid propagating B4.
[inputs]: Add B4.
[propagated-inputs]: Remove B4.
This commit is contained in:
Nicolas Goaziou 2022-09-24 21:05:11 +02:00
parent ffa8a7129f
commit b79bdbe2ec
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -7053,9 +7053,18 @@ (define-public emacs-piem
(sha256
(base32 "0wr6n6wvznngjdp4c0pmdr4xz05dark0kxi5svzhzxsg3rdaql3z"))))
(build-system emacs-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
(emacs-substitute-variables "piem-b4.el"
("piem-b4-b4-executable"
(search-input-file inputs "/bin/b4"))))))))
(inputs
(list b4))
(propagated-inputs
(list b4
emacs-elfeed
(list emacs-elfeed
emacs-notmuch
emacs-transient))
(home-page "https://docs.kyleam.com/piem")