From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:34679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goZPY-0005u4-VN for guix-patches@gnu.org; Tue, 29 Jan 2019 14:51:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goZPX-0000GE-3p for guix-patches@gnu.org; Tue, 29 Jan 2019 14:51:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51558) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goZPS-0000Fb-3I for guix-patches@gnu.org; Tue, 29 Jan 2019 14:51:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goZPR-0005RO-S1 for guix-patches@gnu.org; Tue, 29 Jan 2019 14:51:01 -0500 Subject: [bug#34249] [PATCH] guix package: Avoid spinner at end of output. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:34621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goZP1-0005jc-K2 for guix-patches@gnu.org; Tue, 29 Jan 2019 14:50:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goZP0-0008Pq-V8 for guix-patches@gnu.org; Tue, 29 Jan 2019 14:50:35 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:33446 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goZP0-0008P7-PM for guix-patches@gnu.org; Tue, 29 Jan 2019 14:50:34 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 9957316AB0 for ; Tue, 29 Jan 2019 19:50:32 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 54ed99a9 for ; Tue, 29 Jan 2019 19:50:31 +0000 (UTC) From: Christopher Baines Date: Tue, 29 Jan 2019 19:50:31 +0000 Message-Id: <20190129195031.21496-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34249@debbugs.gnu.org Often guix package will report something like the following when performi= ng operations, for example: guix package -i hello ... building /gnu/store/wiwqmbi66gcr27dac3qqgrc8imyp1344-profile.drv... -117 packages in profile Now there aren't -117 packages in this profile, it's just the spinner run= ning in to the output from Guix package. I'm not sure if this is a proper solu= tion for this issue, but it does work. * guix/scripts/package.scm (build-and-use-profile): Erase the spinner bef= ore output. --- guix/scripts/package.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index a633d2ee6d..4db0e72e9b 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -159,6 +159,7 @@ hooks\" run when building the profile." (switch-symlinks profile (basename name)) (unless (string=3D? profile %current-profile) (register-gc-root store name)) + (display "\r") ; erase the spinner (format #t (N_ "~a package in profile~%" "~a packages in profile~%" count) --=20 2.20.1