guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: examples: Avoid duplicate SDDM service for Plasma


From: guix-commits
Subject: branch master updated: examples: Avoid duplicate SDDM service for Plasma on aarch64-linux.
Date: Mon, 21 Aug 2023 19:19:51 -0400

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 30355c17d7 examples: Avoid duplicate SDDM service for Plasma on 
aarch64-linux.
30355c17d7 is described below

commit 30355c17d7b7eaeb16976c1432d660cb0783014a
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Aug 22 01:14:47 2023 +0200

    examples: Avoid duplicate SDDM service for Plasma on aarch64-linux.
    
    This is a followup to cf28f46930f1ea4087d84c162cfacfcdff842b1f.
    
    * gnu/system/examples/plasma.tmpl (services): Remove both
    'gdm-service-type' and 'sddm-service-type' from %DESKTOP-SERVICES.
---
 gnu/system/examples/plasma.tmpl | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/system/examples/plasma.tmpl b/gnu/system/examples/plasma.tmpl
index b29b6a0535..6395991125 100644
--- a/gnu/system/examples/plasma.tmpl
+++ b/gnu/system/examples/plasma.tmpl
@@ -58,10 +58,11 @@
                       (sddm-configuration
                        (theme "breeze")))
 
-             ;; Remove GDM if it's among %DESKTOP-SERVICES (on some
-             ;; architectures it's not there).
+             ;; Remove GDM if it's among %DESKTOP-SERVICES; on other
+             ;; architectures, %DESKTOP-SERVICES contains SDDM instead.
              (remove (lambda (service)
-                       (eq? (service-kind service) gdm-service-type))
+                       (memq (service-kind service)
+                             (list gdm-service-type sddm-service-type)))
                      %desktop-services)))
   ;; Allow resolution of '.local' host names with mDNS.
   (name-service-switch %mdns-host-lookup-nss))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]