summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-09-24 21:05:11 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-09-24 21:05:11 +0200
commitb79bdbe2ec12de3058720866290201f3cbf72092 (patch)
tree4dd1182c9fcaacbb7579bd50e2ba7a7c07959210 /gnu
parentffa8a7129f4dae5c40eefa76fecfac218c65636e (diff)
downloadguix-b79bdbe2ec12de3058720866290201f3cbf72092.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm13
1 files 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 @@ Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
        (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")