guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 7052c66e14eb64b709f0705bc886bc60bb9c382a
Author: Hilton Chain <[email protected]>
AuthorDate: Fri Jan 16 20:29:28 2026 +0800

    services: gdm: Include system profile in XDG_DATA_DIRS.
    
    * gnu/services/xorg.scm (gdm-shepherd-service)
    [start] <#:environment-variables>: Add system profile to XDG_DATA_DIRS so 
that
    we can use fonts installed in it.
    
    Change-Id: Idd11fe0a5d5d57db5459a5c2a9471d1bf640a6ef
---
 gnu/services/xorg.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index da8f770bde..3dec5877ef 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -1332,11 +1332,14 @@ argument.")))
                           ((lambda (ls) (string-join ls ":"))
                            (map (lambda (path)
                                   (string-append path "/share"))
+                                ;; NOTE: Add system profile here so that we can
+                                ;; use fonts installed in it.
                                 ;; XXX: Remove gnome-shell below when GDM
                                 ;; can depend on GNOME Shell directly.
-                                (cons #$gnome-shell
-                                      '#$(gdm-configuration-gnome-shell-assets
-                                          config)))))
+                                (cons* "/run/current-system/profile"
+                                       #$gnome-shell
+                                       '#$(gdm-configuration-gnome-shell-assets
+                                           config)))))
                          ;; Add XCURSOR_PATH so that mutter can find its
                          ;; cursors.  gdm doesn't login so doesn't source
                          ;; the corresponding line in /etc/profile.

Reply via email to