From 674d4e1380a43d83e77f81cbc3a8da8969e70f11 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Jul 2017 00:07:45 +0200 Subject: gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Fix a regression since commit fd7000fe33d3c4188c241cab97e2b891dd4e1268. * gnu/packages/linux.scm (kbd)[native-search-paths]: Add a double asterisk. --- gnu/packages/linux.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index aca0f6c7b2..1a9e9d709b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1837,7 +1837,10 @@ system.") (native-search-paths (list (search-path-specification (variable "LOADKEYS_KEYMAP_PATH") - (files (list "share/keymaps"))))) + ;; Append ‘/**’ to recursively search all directories. One can then + ;; run (for example) ‘loadkeys en-latin9’ instead of having to find + ;; and type ‘i386/colemak/en-latin9’ on a mislabelled keyboard. + (files (list "share/keymaps/**"))))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "http://kbd-project.org/") (synopsis "Linux keyboard utilities and keyboard maps") -- cgit v1.2.3