gnu: gajim: Fix search for translations.
Fixes <https://bugs.gnu.org/38558>. * gnu/packages/messaging.scm (gajim)[arguments]: Wrap executables in XDG_DATA_DIRS.
This commit is contained in:
		
							parent
							
								
									95563d628a
								
							
						
					
					
						commit
						343f5efbc3
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -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 a new issue