summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorIngar <ingar@onionmail.info>2025-01-14 14:29:27 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-25 23:28:30 +0000
commitd82e36e18e69a090d4ce8c4cb96896f572a12b57 (patch)
tree51f8d48ba21674b59c44b9fa4711a529c60eb5c8 /gnu
parent8d062a9f0e290cbe553b4bffa31a98ef25500c63 (diff)
gnu: kakoune: Add search path.
KAKOUNE_RUNTIME: Overrides the location of the directory containing the Kakoune support files. If unset, location is determined from Kakoune's binary location. * gnu/packages/text-editors.scm (kakoune): Add KAKOUNE_RUNTIME to search paths. This is needed to e.g. package plugins, or to have a stable target for the symlink inside `${userconf}/autoload` to `@{runtime}/autoload` (see Kakoune manual). Merges: https://codeberg.org/guix/guix/pulls/6616 Change-Id: I55a48696f20e13499206b573a9b07895250d791c Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/text-editors.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index bed59944e87..4147481c183 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -445,6 +445,11 @@ based command language.")
(delete 'configure)))) ; no configure script
(native-inputs (list pkg-config))
(inputs (list perl))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "KAKOUNE_RUNTIME")
+ (separator #f)
+ (files (list "share/kak")))))
(synopsis "Vim-inspired code editor")
(description
"Kakoune is a code editor heavily inspired by Vim, as such most of its