gnu: emacs-direnv: Use new style.
* gnu/packages/emacs-xyz.scm (emacs-direnv)[arguments]: Use SEARCH-INPUT. [propagated-inputs]: Remove labels.
This commit is contained in:
parent
d1b435366c
commit
b1cfd7a40b
1 changed files with 3 additions and 6 deletions
|
@ -2927,16 +2927,13 @@ overlay below or above the point. Corfu can be considered the minimalistic
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-in-direnv
|
(add-after 'unpack 'patch-in-direnv
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((direnv-path (assoc-ref inputs "direnv"))
|
(let ((direnv (search-input-file inputs "/bin/direnv")))
|
||||||
(direnv-bin (string-append
|
|
||||||
"\"" direnv-path "/bin/direnv\"")))
|
|
||||||
(substitute* "direnv.el"
|
(substitute* "direnv.el"
|
||||||
(("\"direnv\"") direnv-bin))))))))
|
(("\"direnv\"") (string-append "\"" direnv "\"")))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list direnv))
|
(list direnv))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("dash" ,emacs-dash)
|
(list emacs-dash emacs-with-editor))
|
||||||
("with-editor" ,emacs-with-editor)))
|
|
||||||
(home-page "https://github.com/wbolster/emacs-direnv")
|
(home-page "https://github.com/wbolster/emacs-direnv")
|
||||||
(synopsis "Direnv integration for Emacs")
|
(synopsis "Direnv integration for Emacs")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue