mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 19:10:49 +02:00
gnu: emacs-pulseaudio-control: Use search-input-file.
* gnu/packages/emacs-xyz.scm (emacs-pulseaudio-control): [arguments]<phases>: Improve 'patch-file-name style. Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
parent
fdb799491b
commit
f5d71418b1
1 changed files with 3 additions and 4 deletions
|
@ -27475,10 +27475,9 @@ orient yourself in the code, and tell which statements are at a given level.")
|
|||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-file-name
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((pulseaudio (assoc-ref inputs "pulseaudio")))
|
||||
(emacs-substitute-variables "pulseaudio-control.el"
|
||||
("pulseaudio-control-pactl-path"
|
||||
(string-append pulseaudio "/bin/pactl")))))))))
|
||||
(emacs-substitute-variables "pulseaudio-control.el"
|
||||
("pulseaudio-control-pactl-path"
|
||||
(search-input-file inputs "bin/pactl"))))))))
|
||||
(inputs (list pulseaudio))
|
||||
(home-page "https://git.sr.ht/~flexibeast/pulseaudio-control")
|
||||
(synopsis "Control Pulseaudio from Emacs")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue