gnu: emacs-bash-completion: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-bash-completion)[arguments]<#:phases>: Remove trailing #T. Use G-expressions. Use SEARCH-INPUT-FILE.master
parent
f424c3123d
commit
661b5acc72
|
@ -15958,18 +15958,17 @@ Slack client.")
|
||||||
(inputs (list bash))
|
(inputs (list bash))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'make-git-checkout-writable
|
(add-after 'unpack 'make-git-checkout-writable
|
||||||
(λ _
|
(λ _
|
||||||
(for-each make-file-writable (find-files "."))
|
(for-each make-file-writable (find-files "."))))
|
||||||
#t))
|
|
||||||
(add-before 'install 'configure
|
(add-before 'install 'configure
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((bash (assoc-ref inputs "bash")))
|
|
||||||
(emacs-substitute-variables "bash-completion.el"
|
(emacs-substitute-variables "bash-completion.el"
|
||||||
("bash-completion-prog" (string-append bash "/bin/bash"))))
|
("bash-completion-prog"
|
||||||
#t)))))
|
(search-input-file inputs "/bin/bash"))))))))
|
||||||
(home-page "https://github.com/szermatt/emacs-bash-completion")
|
(home-page "https://github.com/szermatt/emacs-bash-completion")
|
||||||
(synopsis "Bash completion for the shell buffer")
|
(synopsis "Bash completion for the shell buffer")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue