guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9105794caf39cbef6def998c89c400a433121aa4
Author: Noé Lopez <[email protected]>
AuthorDate: Sat Mar 21 21:57:22 2026 +0100

    gnu: gdm: Drop useless phase.
    
    After version 49 or so, there is no longer a GDM specific autostart
    directory. In any case, this directory was useless given that it didn’t
    include gnome-shell.
    
    * gnu/packages/gnome.scm (gdm)[arguments]<#:phases>: Remove
    link-autostart-files phase.
    
    Change-Id: I624c229a3d72e72467b8e3ac588f8e565a8d0c64
    Signed-off-by: Noé Lopez <[email protected]>
---
 gnu/packages/gnome.scm | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 047d37dcc3..87a5846acd 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9375,23 +9375,6 @@ logo='~a'~%" icon))))))
                        "Comment=This session fails immediately.\n"
                        "NoDisplay=true\n"
                        "Exec=false\n")))))))
-          ;; GDM needs GNOME Session to run these applications.  We link
-          ;; their autostart files in `share/gdm/greeter/autostart'
-          ;; because GDM explicitly tells GNOME Session to look there.
-          ;;
-          ;; XXX: GNOME Shell should be linked here too, but currently
-          ;; GNOME Shell depends on GDM.
-          (add-after 'install 'link-autostart-files
-            (lambda* (#:key inputs #:allow-other-keys)
-              (let ((autostart (string-append #$output "/share/gdm/"
-                                              "greeter/autostart"))
-                    (settings #$(this-package-input "gnome-settings-daemon")))
-                (mkdir-p autostart)
-                (with-directory-excursion autostart
-                  (for-each (lambda (desktop)
-                              (symlink desktop (basename desktop)))
-                            (find-files
-                             (string-append settings "/etc/xdg")))))))
           ;; GDM needs some additional programs available via XDG_DATA_DIRS,
           ;; to make accessibility settings and related services available.
           (add-after 'install 'wrap-accessibility-dependencies

Reply via email to