mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-alarm-clock: Use search-input-file.
* gnu/packages/emacs-xyz.scm (emacs-alarm-clock): [arguments]<phases>: Improve phase 'configure. Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
parent
279ce57d5b
commit
3db9efb5a6
1 changed files with 6 additions and 6 deletions
|
@ -3800,12 +3800,12 @@ Distributed @acronym{Source Control Management, SCM} system.")
|
|||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'configure
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((mpg123 (search-input-file inputs "/bin/mpg123"))
|
||||
(notify-send
|
||||
(search-input-file inputs "/bin/notify-send")))
|
||||
(substitute* "alarm-clock.el"
|
||||
(("\"mpg123\"") (string-append "\"" mpg123 "\""))
|
||||
(("notify-send") notify-send))))))))
|
||||
(substitute* "alarm-clock.el"
|
||||
(("\"mpg123\"")
|
||||
(string-append
|
||||
"\"" (search-input-file inputs "bin/mpg123") "\""))
|
||||
(("notify-send")
|
||||
(search-input-file inputs "bin/notify-send"))))))))
|
||||
(inputs
|
||||
(list libnotify mpg123))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue