Subject: [PATCH] gnu: greetd: Update to 0.10.3.

From: muradm <[email-masked]>
Date: Fri, 3 Jan 2025 20:45:26 +0300

* gnu/packages/admin.scm (greetd): Update to 0.10.3.
* gnu/tests/desktop.scm (minimal-desktop): greetd don't share GREETD_SOCK any more.

Change-Id: I51af36f24fa4647dfde3aeb5c3d68b5cb353a8f9
---
 gnu/packages/admin.scm | 6 +++---
 gnu/tests/desktop.scm  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 466df65dd9..045292a37d 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -5651,7 +5651,7 @@ (define-public udpcast
 (define-public greetd
   (package
     (name "greetd")
-    (version "0.9.0")
+    (version "0.10.3")
     (home-page "https://git.sr.ht/~kennylevinsen/greetd")
     (source (origin
               (method git-fetch)
@@ -5660,11 +5660,11 @@ (define-public greetd
                     (commit version)))
               (file-name (git-file-name name version))
               (sha256
-               (base32 "1b79lb0vikh5vwpdlyga6zwzm11gpsd7ghp8zb0q2m6mlqlj5by3"))))
+               (base32 "1j3c7skby9scsq6p1f6nacbiy9b26y1sswchdsp8p3vv7fgdh2wf"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-nix" ,rust-nix-0.26)
+       (("rust-nix" ,rust-nix-0.27)
         ("rust-pam-sys" ,rust-pam-sys-0.5)
         ("rust-rpassword" ,rust-rpassword-5)
         ("rust-users" ,rust-users-0.11)
diff --git a/gnu/tests/desktop.scm b/gnu/tests/desktop.scm
index ef30442886..1c32076ccb 100644
--- a/gnu/tests/desktop.scm
+++ b/gnu/tests/desktop.scm
@@ -244,14 +244,14 @@ (define (run-minimal-desktop-test os vm)
 
               (sort (filter expected-var user-env) string<?)))
 
-          (test-assert "validate SEATD_SOCK and GREETD_SOCK"
+          (test-assert "validate SEATD_SOCK"
             (begin
               (marionette-type "env > env\n" marionette)
               (sleep 1)
 
               (define (sock-var? var)
                 (any (lambda (s) (string-contains var s))
-                     '("SEATD_SOCK" "GREETD_SOCK")))
+                     '("SEATD_SOCK")))
 
               (define (sock-var-sock var)
                 (car (cdr (string-split var #\=))))
@@ -262,7 +262,7 @@ (define (run-minimal-desktop-test os vm)
                    (out (filter sock-var? out))
                    (socks (map sock-var-sock out))
                    (socks (map wait-for-unix-socket-m socks)))
-                (and (= 2 (length socks)) (every identity socks)))))
+                (and (= 1 (length socks)) (every identity socks)))))
 
           (test-equal "seatd.sock ownership"
             '("root" "seat")

base-commit: ce3ffac5d366ebf20e0d95779f2fe1ea6dde0202
-- 
2.47.1