From b79bdbe2ec12de3058720866290201f3cbf72092 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 24 Sep 2022 21:05:11 +0200 Subject: [PATCH] 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. --- gnu/packages/emacs-xyz.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 0d3b81f04e..d324b39af3 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -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")