substitute-binary: Fix recently-introduced regression.
authorLudovic Courtès <ludo@gnu.org>
Wed, 18 Mar 2015 21:55:54 +0000 (22:55 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 18 Mar 2015 21:55:54 +0000 (22:55 +0100)
* guix/scripts/substitute-binary.scm (%cache-url): Fix regression
  introduced in 41c45e7.

guix/scripts/substitute-binary.scm

index 50e3db2..a4d153d 100755 (executable)
@@ -631,12 +631,11 @@ found."
   (assoc-ref (daemon-options) option))
 
 (define %cache-url
-  (match (and=> (string-append
-                 ;; TODO: Uncomment the following lines when multiple
-                 ;; substitute sources are supported.
-                 ;; (find-daemon-option "untrusted-substitute-urls") ;client
-                 ;; " "
-                 (find-daemon-option "substitute-urls"))          ;admin
+  (match (and=> ;; TODO: Uncomment the following lines when multiple
+                ;; substitute sources are supported.
+                ;; (find-daemon-option "untrusted-substitute-urls") ;client
+                ;; " "
+                (find-daemon-option "substitute-urls")          ;admin
                 string-tokenize)
     ((url)
      url)