Subject: Re: bug#54779: guix home reconfigure throw error after Shepherd updata

From: Aleksandr Vityazev <[email-masked]>
Date: Wed, 20 Apr 2022 01:37:28 +0000

Hi,

it seems that the attached patch should fix this.

-- 
Best regards,
Aleksandr Vityazev

diff --git a/gnu/home/services/shepherd.scm b/gnu/home/services/shepherd.scm
index df6bbb30e6..cbb7b17987 100644
--- a/gnu/home/services/shepherd.scm
+++ b/gnu/home/services/shepherd.scm
@@ -84,6 +84,8 @@ (define config
                                         services))))
             (if (defined? 'start-in-the-background)
                 (start-in-the-background services-to-start)
-                (for-each start services-to-start)))))
+                (for-each start services-to-start))
+            (redirect-port (open-input-file "/dev/null")
+                           (current-input-port)))))

     (scheme-file "shepherd.conf" config)))