summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/profiles.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 011bc54d23..d8b83bf730 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -1268,8 +1268,11 @@ are cross-built for TARGET."
                          (guix search-paths)
                          (srfi srfi-1))
 
-            (setvbuf (current-output-port) 'line)
-            (setvbuf (current-error-port) 'line)
+            ;; Don't complain about _IO* on Guile 2.2.
+            (debug-disable 'warn-deprecated)
+
+            (setvbuf (current-output-port) _IOLBF)
+            (setvbuf (current-error-port) _IOLBF)
 
             #+(if locales? set-utf8-locale #t)