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

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 06b5426aa66 services: yggdrasil: Fix gexp evaluation order.
06b5426aa66 is described below

commit 06b5426aa66aa0bf65c2344faef33e512fcd20a2
Author: Nguyễn Gia Phong <[email protected]>
AuthorDate: Mon Nov 2 18:00:52 2026 +0900

    services: yggdrasil: Fix gexp evaluation order.
    
    This fixes the consequence being evaluated independent
    of its condition.
    
    * gnu/services/networking.scm (yggdrasil-shepherd-service)
      [start]<environment-variables>: Put the whole `if' form in gexp.
    
    Fixes: https://codeberg.org/guix/guix/pulls/9380
---
 gnu/services/networking.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 875358cb458..da687c2c346 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -2682,10 +2682,10 @@ local servers publicly accessible on the web, even 
behind NATs and firewalls."))
                      #:group "yggdrasil"
                      #:environment-variables
                      (append
-                      (if #$proxy
-                          (list #$(string-append "http_proxy=" proxy)
-                                #$(string-append "https_proxy=" proxy))
-                          '())
+                      #$(if proxy
+                            (list (string-append "http_proxy=" proxy)
+                                  (string-append "https_proxy=" proxy))
+                            '())
                       (default-environment-variables)))))
          (stop #~(make-kill-destructor)))))
 

Reply via email to