1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-27 12:40:32 +02:00

utils: Fix cond-expand for Guile 2.0.

* guix/build/download.scm (tls-wrap): Use 'guile-2.2' feature instead.
This commit is contained in:
Eric Bavier
2017-12-04 10:33:31 -06:00
committed by Eric Bavier
parent d53fb678a7
commit 7f04197fef

View File

@@ -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)))