mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
scripts: size: Fix guix size
with --system argument.
guix/scripts/size.scm (guix-size): Parameterize %current-system. Change-Id: Ia0c1ebff4397aa211f73360925f7c688d59b515a Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
acd688a062
commit
c245a54aab
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue