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

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new e733f66  Fix substitutes server discovery.
e733f66 is described below

commit e733f66b5ba33d9971085076411c2ecb08884d26
Author: Mathieu Othacehe <[email protected]>
AuthorDate: Mon Mar 29 16:55:58 2021 +0200

    Fix substitutes server discovery.
    
    This is a follow-up of bc3896db25c788c181c7bcd65754e7cd378e9d9f.
    
    * guix/scripts/substitute.scm (%local-substitute-urls): Test for "true"
    instead of "yes".
---
 guix/scripts/substitute.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm
index 46323c7..ccdc413 100755
--- a/guix/scripts/substitute.scm
+++ b/guix/scripts/substitute.scm
@@ -655,7 +655,7 @@ is shorter than MAX elements, then it is directly returned."
   ;; If the following option is passed to the daemon, use the substitutes list
   ;; provided by "guix discover" process.
   (let* ((option (find-daemon-option "discover"))
-         (discover? (and option (string=? option "yes"))))
+         (discover? (and option (string=? option "true"))))
     (if discover?
      (randomize-substitute-urls (read-substitute-urls))
      '())))

Reply via email to