diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2021-03-29 16:55:58 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-03-29 16:57:10 +0200 |
commit | e733f66b5ba33d9971085076411c2ecb08884d26 (patch) | |
tree | 66cb46b144ce23cb89e1abeab1bc8c91f0f2c667 | |
parent | 19c6ea9ca4d66e7c7c979a17ad92779ea44c5e9e (diff) | |
download | guix-e733f66b5ba33d9971085076411c2ecb08884d26.tar.gz |
Fix substitutes server discovery.
This is a follow-up of bc3896db25c788c181c7bcd65754e7cd378e9d9f. * guix/scripts/substitute.scm (%local-substitute-urls): Test for "true" instead of "yes".
-rwxr-xr-x | guix/scripts/substitute.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm index 46323c7216..ccdc4137e8 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)) '()))) |