gnu: sdcv: Add 'STARDICT_DATA_DIR' search path spec.

* gnu/packages/dictionaries.scm (sdcv)[native-search-paths]: New field.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
luhux 2021-01-01 08:57:50 +08:00 committed by Efraim Flashner
parent c729a06382
commit 7dd1a2174a
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -438,6 +438,12 @@ intelligible and easily correctable.")
("ncurses" ,ncurses)
("readline" ,readline)
("zlib" ,zlib)))
;; If you use Guix to package and install dictionary data,
;; you need this variable to load them.
(native-search-paths
(list (search-path-specification
(variable "STARDICT_DATA_DIR")
(files '("share/stardict/dic")))))
(home-page "https://dushistov.github.io/sdcv/")
(synopsis "Console version of StarDict")
(description "sdcv is simple text-based utility for work with dictionaries