aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorgemmaro <gemmaro.dev@gmail.com>2024-07-09 20:46:23 +0900
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-07-09 15:05:52 +0200
commitc6f4757ed2c78c63e642703805867caf5d0ab277 (patch)
tree6a1434b2a732f421caba865c19d4110d44ec74ee /gnu/packages
parent9f2d639ae8d8b3b9f5fbf47656c115cb0e58c51d (diff)
downloadguix-c6f4757ed2c78c63e642703805867caf5d0ab277.tar.gz
guix-c6f4757ed2c78c63e642703805867caf5d0ab277.zip
gnu: emacs-empv: Add inputs.
* gnu/packages/emacs-xyz.scm (emacs-empv)[arguments]: Add a phase to set default binaries for FD and MPV. [inputs]: Add FD and MPV. [propagated-inputs]: Add EMACS-CONSULT. Change-Id: I0e627d3b3ec3e5515ff7da9cd601713840e2a9c7 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0d189f2da1..ae588f4913 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3766,7 +3766,16 @@ Selectrum.")
(base32
"06dphwj9vi39dbpif3kzp6azs80klh13s9l22a6ddz91kmds2myy"))))
(build-system emacs-build-system)
- (propagated-inputs (list emacs-compat emacs-s))
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-default-binaries
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "empv.el"
+ ("empv-fd-binary" (search-input-file inputs "/bin/fd"))
+ ("empv-mpv-binary" (search-input-file inputs "/bin/mpv"))))))))
+ (inputs (list fd mpv))
+ (propagated-inputs (list emacs-compat emacs-consult emacs-s))
(home-page "https://github.com/isamert/empv.el")
(synopsis
"Emacs multimedia player, media library manager, YouTube frontend")