summary refs log tree commit diff
diff options
context:
space:
mode:
authorL p R n d n <guix@lprndn.info>2022-08-03 21:37:19 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-08-03 22:02:03 -0400
commit525688e9f3b2798c25fca35686174b4f3dd90b47 (patch)
tree5e564a9d0d8abb893486ee19e261bcff17438c1a
parentaf2d160c010b1287bef4d10fc06e64b10e359828 (diff)
downloadguix-525688e9f3b2798c25fca35686174b4f3dd90b47.tar.gz
gnu: lightdm-gtk-greeter: Set XCURSOR_PATH in wrapper.
* gnu/packages/display-managers.scm (lightdm-gtk-greeter)
[phases]{wrap-program}: Set XCURSOR_PATH to the current system share/icons.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-rw-r--r--gnu/packages/display-managers.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index 8eba4aeb4e..1b837bc4de 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -381,7 +381,9 @@ display manager which supports different greeters.")
                                   (string-append pkg "/share"))
                                 (list gtk shared-mime-info glib))))
                   `("GTK_PATH" ":" prefix (,gtk))
-                  `("GIO_EXTRA_MODULES" ":" prefix (,gtk)))))))))
+                  `("GIO_EXTRA_MODULES" ":" prefix (,gtk))
+                  '("XCURSOR_PATH" ":" prefix
+                    ("/run/current-system/profile/share/icons")))))))))
     (native-inputs
      (list exo intltool pkg-config xfce4-dev-tools))
     (inputs