GNU bug report logs - #68363
[PATCH] size: fix `guix size` with system arg.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Wed, 10 Jan 2024 07:26:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#68363: closed ([PATCH] size: fix `guix size` with system arg.)
Date: Fri, 12 Jan 2024 16:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 12 Jan 2024 17:26:02 +0100
with message-id <87zfxaplgl.fsf <at> gnu.org>
and subject line Re: [bug#68363] [PATCH] size: fix `guix size` with system arg.
has caused the debbugs.gnu.org bug report #68363,
regarding [PATCH] size: fix `guix size` with system arg.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
68363: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68363
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: guix-patches <at> gnu.org
Subject: [PATCH] size: fix `guix size` with system arg.
Date: Wed, 10 Jan 2024 15:24:00 +0800
guix/scripts/size.scm(guix-size): parameterize %current-system.

Change-Id: Ia0c1ebff4397aa211f73360925f7c688d59b515a
---
 guix/scripts/size.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/size.scm b/guix/scripts/size.scm
index d26ed98388..8a8676a16f 100644
--- a/guix/scripts/size.scm
+++ b/guix/scripts/size.scm
@@ -317,7 +317,8 @@ (define-command (guix-size . args)
           ;; Turn off grafts because (1) substitute servers do not serve grafted
           ;; packages, and (2) they do not make any difference on the
           ;; resulting size.
-          (parameterize ((%graft? #f))
+          (parameterize ((%graft? #f)
+                         (%current-system system))
             (with-store store
               (set-build-options store
                                  #:use-substitutes? #t

base-commit: 9018c6af4907c4532a95017df9f45d9439c30064
prerequisite-patch-id: 04bf8c9efad61111b0e3334c0a5a12d2b468c385
-- 
2.41.0



[Message part 3 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 68363-done <at> debbugs.gnu.org, Josselin Poiret <dev <at> jpoiret.xyz>,
 Simon Tournier <zimon.toutoune <at> gmail.com>, Ludovic Court?s <ludo <at> gnu.org>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>, Ricardo Wurmus <rekado <at> elephly.net>,
 Christopher Baines <guix <at> cbaines.net>
Subject: Re: [bug#68363] [PATCH] size: fix `guix size` with system arg.
Date: Fri, 12 Jan 2024 17:26:02 +0100
> guix/scripts/size.scm(guix-size): parameterize %current-system.

Seems to work fine!

Applied, thanks,

Mathieu


This bug report was last modified 1 year and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.