[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: status: Do not print .drv file names for grafts.
From: |
guix-commits |
Subject: |
03/07: status: Do not print .drv file names for grafts. |
Date: |
Wed, 16 Feb 2022 10:55:41 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 3bed628b3e22c2689621762143b56c2745212b5d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Feb 10 22:46:44 2022 +0100
status: Do not print .drv file names for grafts.
With this change, "guix build vim-full" prints:
applying 15 grafts for vim-full-8.2.4306 ...
instead of showing /gnu/store/…-vim-full-8.2.4306.drv.
* guix/status.scm (print-build-event): In the 'graft' case, print just
the "package name" part of DRV.
---
guix/status.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/guix/status.scm b/guix/status.scm
index fba28765df..868f6d6296 100644
--- a/guix/status.scm
+++ b/guix/status.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2017-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
@@ -483,7 +483,9 @@ substitutes being downloaded."
(format port (info (N_ "applying ~a graft for ~a ..."
"applying ~a grafts for ~a ..."
count))
- count drv)))
+ count
+ (string-drop-right (store-path-package-name drv)
+ (string-length ".drv")))))
('profile
(let ((count (match (assq-ref properties 'profile)
(#f 0)
- branch master updated (176354c2f8 -> 6481dbda51), guix-commits, 2022/02/16
- 01/07: gexp: Preserve source location for #~ and #$ read extensions., guix-commits, 2022/02/16
- 04/07: status: Use bold more sparsely at -v1., guix-commits, 2022/02/16
- 07/07: gnu: c-vise: Fix linkage., guix-commits, 2022/02/16
- 03/07: status: Do not print .drv file names for grafts.,
guix-commits <=
- 02/07: doc: Document 'wrap-program' and 'wrap-script'., guix-commits, 2022/02/16
- 05/07: status: Do not pass a non-literal format string to 'format'., guix-commits, 2022/02/16
- 06/07: gnu: clang: Build and link as shared libraries., guix-commits, 2022/02/16