[bug#54000,2/2] pull: No longer print upgraded/added packages upon completion.

Message ID 20220214164127.1248-2-ludo@gnu.org
State New
Headers
Series Not showing upgraded/added packages in 'guix pull' |

Commit Message

Ludovic Courtès Feb. 14, 2022, 4:41 p.m. UTC
* guix/scripts/pull.scm (build-and-install): Remove call to
'display-profile-news' and adjust accordingly.
---
 guix/scripts/pull.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
  

Patch

diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm
index af1b27d7dd..f557aaf79a 100644
--- a/guix/scripts/pull.scm
+++ b/guix/scripts/pull.scm
@@ -454,10 +454,9 @@  (define guix-command
                       #:hooks %channel-profile-hooks)
 
       (return
-       (let ((more? (list (display-profile-news profile #:concise? #t)
-                          (display-channel-news-headlines profile))))
+       (let ((more? (display-channel-news-headlines profile)))
          (newline)
-         (when (any ->bool more?)
+         (when more?
            (display-hint
             (G_ "Run @command{guix pull --news} to read all the news.")))))
       (if guix-command