gnu: gajim: Fix search for translations.
Fixes <https://bugs.gnu.org/38558>. * gnu/packages/messaging.scm (gajim)[arguments]: Wrap executables in XDG_DATA_DIRS.master
parent
95563d628a
commit
343f5efbc3
|
@ -607,7 +607,10 @@ else [])"))
|
|||
(let ((file (string-append out "/bin/" name))
|
||||
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
||||
(wrap-program file
|
||||
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))
|
||||
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
|
||||
;; For translations
|
||||
`("XDG_DATA_DIRS" ":" prefix
|
||||
(,(string-append (assoc-ref outputs "out") "/share"))))))
|
||||
'("gajim" "gajim-remote" "gajim-history-manager")))
|
||||
#t))
|
||||
(add-after 'install 'install-icons
|
||||
|
|
Reference in New Issue