aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-10 17:29:34 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-10 17:30:46 +0100
commit343f5efbc3553270ee6e55d0d3c70ad185c8524f (patch)
tree4cbc27e9f36d7aa0c916591cd9ea71edcd7185b6
parent95563d628acdf81032556db66440b01b9fa933f1 (diff)
downloadpatches-343f5efbc3553270ee6e55d0d3c70ad185c8524f.tar
patches-343f5efbc3553270ee6e55d0d3c70ad185c8524f.tar.gz
gnu: gajim: Fix search for translations.
Fixes <https://bugs.gnu.org/38558>. * gnu/packages/messaging.scm (gajim)[arguments]: Wrap executables in XDG_DATA_DIRS.
-rw-r--r--gnu/packages/messaging.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 27d2b7689c..9b97d8b75c 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -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