~ruther/guix-local

7f04197fef905790fd392f8d686d00ae95a0d04c — Eric Bavier 8 years ago d53fb67
utils: Fix cond-expand for Guile 2.0.

* guix/build/download.scm (tls-wrap): Use 'guile-2.2' feature instead.
1 files changed, 3 insertions(+), 3 deletions(-)

M guix/build/download.scm
M guix/build/download.scm => guix/build/download.scm +3 -3
@@ 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)))