summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-03 17:32:50 +0100
committerLudovic Courtès <ludo@gnu.org>2017-12-03 19:12:16 +0100
commit2f60084f77815f454d1521396c2a383390ea2865 (patch)
treeff3a471c6d180082e25e659ac90cf8ab5b84d96e
parent350cb5ba84d1f23adfa3bde976fd99f695baf74c (diff)
downloadguix-2f60084f77815f454d1521396c2a383390ea2865.tar.gz
profiles: Avoid _IO* in profile builder.
* guix/profiles.scm (profile-derivation)[builder]: Avoid the deprecated
_IO* constants.
-rw-r--r--guix/profiles.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 5ef84e8a0b..011bc54d23 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -1268,8 +1268,8 @@ are cross-built for TARGET."
                          (guix search-paths)
                          (srfi srfi-1))
 
-            (setvbuf (current-output-port) _IOLBF)
-            (setvbuf (current-error-port) _IOLBF)
+            (setvbuf (current-output-port) 'line)
+            (setvbuf (current-error-port) 'line)
 
             #+(if locales? set-utf8-locale #t)