guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: build-system/cargo: Unpack crates less verbosely.


From: guix-commits
Subject: 04/04: build-system/cargo: Unpack crates less verbosely.
Date: Thu, 20 Oct 2022 08:45:35 -0400 (EDT)

efraim pushed a commit to branch staging
in repository guix.

commit 408a4ed071c9c52de207d799a698781d49fa727d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Oct 20 10:15:29 2022 +0300

    build-system/cargo: Unpack crates less verbosely.
    
    * guix/build/cargo-build-system.scm (configure): Print the crate being
    unpacked but don't print the contents of each crate.
---
 guix/build/cargo-build-system.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/guix/build/cargo-build-system.scm 
b/guix/build/cargo-build-system.scm
index 0a95672b00..41766228c2 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2016 David Craven <david@craven.ch>
 ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com>
-;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019-2022 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
 ;;;
@@ -135,7 +135,8 @@ Cargo.toml file present at its root."
               ;; so that we can generate any cargo checksums.
               ;; The --strip-components argument is needed to prevent creating
               ;; an extra directory within `crate-dir`.
-              (invoke "tar" "xvf" path "-C" crate-dir "--strip-components" 
"1")))))
+              (format #t "Unpacking ~a~%" name)
+              (invoke "tar" "xf" path "-C" crate-dir "--strip-components" 
"1")))))
     inputs)
 
   ;; Configure cargo to actually use this new directory.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]