mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-fish-completion: Improve style.
* gnu/packages/emacs-xyz.scm (emacs-fish-completion): [arguments]<phases>: Improve 'configure phase style. Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
parent
113e5d2b03
commit
6a2862186e
1 changed files with 6 additions and 10 deletions
|
@ -30577,20 +30577,16 @@ cohesion with the Emacs Way.")
|
||||||
(base32
|
(base32
|
||||||
"17lqip1i1rrsvxzz4bx9rqf1fvwd3hriwg3sj6qxmfc8pylnp37q"))))
|
"17lqip1i1rrsvxzz4bx9rqf1fvwd3hriwg3sj6qxmfc8pylnp37q"))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(inputs (list fish))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'configure
|
(add-after 'unpack 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((fish (assoc-ref inputs "fish")))
|
(make-file-writable "fish-completion.el")
|
||||||
;; Specify the absolute file names of the various
|
(emacs-substitute-variables "fish-completion.el"
|
||||||
;; programs so that everything works out-of-the-box.
|
("fish-completion-command"
|
||||||
(make-file-writable "fish-completion.el")
|
(search-input-file inputs "bin/fish"))))))))
|
||||||
(emacs-substitute-variables
|
(inputs (list fish))
|
||||||
"fish-completion.el"
|
|
||||||
("fish-completion-command"
|
|
||||||
(string-append fish "/bin/fish")))))))))
|
|
||||||
(home-page
|
(home-page
|
||||||
"https://gitlab.com/Ambrevar/emacs-fish-completion")
|
"https://gitlab.com/Ambrevar/emacs-fish-completion")
|
||||||
(synopsis "Fish completion for Emacs pcomplete")
|
(synopsis "Fish completion for Emacs pcomplete")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue