unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68363] [PATCH] size: fix `guix size` with system arg.
@ 2024-01-10  7:24 Zheng Junjie
  2024-01-12 16:26 ` bug#68363: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Junjie @ 2024-01-10  7:24 UTC (permalink / raw)
  To: 68363
  Cc: Christopher Baines, Josselin Poiret, Ludovic Court?s,
	Mathieu Othacehe, Ricardo Wurmus, Simon Tournier,
	Tobias Geerinckx-Rice

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#68363: [PATCH] size: fix `guix size` with system arg.
  2024-01-10  7:24 [bug#68363] [PATCH] size: fix `guix size` with system arg Zheng Junjie
@ 2024-01-12 16:26 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2024-01-12 16:26 UTC (permalink / raw)
  To: Zheng Junjie
  Cc: 68363-done, Josselin Poiret, Simon Tournier, Ludovic Court?s,
	Tobias Geerinckx-Rice, Ricardo Wurmus, Christopher Baines


> guix/scripts/size.scm(guix-size): parameterize %current-system.

Seems to work fine!

Applied, thanks,

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-12 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-10  7:24 [bug#68363] [PATCH] size: fix `guix size` with system arg Zheng Junjie
2024-01-12 16:26 ` bug#68363: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).