guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: utils: Fix cond-expand for Guile 2.0.


From: Eric Bavier
Subject: 01/02: utils: Fix cond-expand for Guile 2.0.
Date: Sun, 10 Dec 2017 22:05:08 -0500 (EST)

bavier pushed a commit to branch master
in repository guix.

commit 7f04197fef905790fd392f8d686d00ae95a0d04c
Author: Eric Bavier <address@hidden>
Date:   Mon Dec 4 10:33:31 2017 -0600

    utils: Fix cond-expand for Guile 2.0.
    
    * guix/build/download.scm (tls-wrap): Use 'guile-2.2' feature instead.
---
 guix/build/download.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guix/build/download.scm b/guix/build/download.scm
index 4490d22..609a100 100644
--- a/guix/build/download.scm
+++ b/guix/build/download.scm
@@ -308,10 +308,10 @@ host name without trailing dot."
       (register-tls-record-port record port)
 
       ;; Write HTTP requests line by line rather than byte by byte:
-      ;; <https://bugs.gnu.org/22966>.  This is not possible on Guile 2.0.
+      ;; <https://bugs.gnu.org/22966>.  This is possible with Guile >= 2.2.
       (cond-expand
-        (guile-2.0 #f)
-        (else (setvbuf record 'line)))
+        (guile-2.2 (setvbuf record 'line))
+        (else #f))
 
       record)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]