mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-16 14:15:56 +02:00
gnu: kakoune: Wrap with perl.
* gnu/packages/text-editors.scm (kakoune)[arguments]: Add a phase to wrap the binary with perl. [inputs]: Add perl. Co-authored-by: Ashvith Shetty <ashvithshetty10@gmail.com> Change-Id: Ib546f29ad95a6acdc3063c94aaa7eb839f50f254
This commit is contained in:
@@ -439,8 +439,14 @@ based command language.")
|
||||
(("if \\(m_shell.empty\\(\\)\\)" line)
|
||||
(string-append "m_shell = \"" (which "sh")
|
||||
"\";\n " line)))))
|
||||
(add-after 'install 'wrap-executable
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(wrap-program (string-append (assoc-ref outputs "out") "/bin/kak")
|
||||
`("PATH" ":" prefix
|
||||
(,(dirname (search-input-file inputs "bin/perl")))))))
|
||||
(delete 'configure)))) ; no configure script
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list perl))
|
||||
(synopsis "Vim-inspired code editor")
|
||||
(description
|
||||
"Kakoune is a code editor heavily inspired by Vim, as such most of its
|
||||
|
||||
Reference in New Issue
Block a user