From: chris <chris@bumblehead.com>
To: help-guix@gnu.org
Cc: chris@bumblehead.com
Subject: help using guix size command w/ local file definition
Date: Sat, 30 Mar 2024 14:16:47 -0700 [thread overview]
Message-ID: <ZgiBP10DYrOz6ooS@guix-xps> (raw)
How does one use `guix size` with a local file package definition?
I have copied the `vifm` package definition here to a local file https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/vim.scm?id=master#n916
Using `guix size --load-path` as described here fails https://guix.gnu.org/manual/en/html_node/Invoking-guix-size.html
```
$ guix size --load-path=$HOME/software/vifm-local/ vifm-local
guix size: error: no available substitute information for '/gnu/store/vx189rcgy4b8lw1acw14cki9lm4jz9jn-vifm-local-0.13'
$ guix size --substitute-urls="" --load-path=$HOME/software/vifm-local/ vifm-local
guix size: error: no available substitute information for '/gnu/store/vx189rcgy4b8lw1acw14cki9lm4jz9jn-vifm-local-0.13'
```
Another question, as guix's vifm input list includes `libx11`, shouldn't x11 appear in the size listing?
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/vim.scm?id=master#n916
```
$ guix size vifm
store item total self
/gnu/store/lj[...]f8-perl-5.36.0 152.2 59.4 34.9%
/gnu/store/gs[...]i3-glibc-2.35 40.6 38.8 22.8%
/gnu/store/93[...]yk-gcc-11.3.0-lib 75.3 34.7 20.4%
/gnu/store/a5[...]5c-coreutils-9.1 91.8 16.5 9.7%
/gnu/store/gr[...]hq-file-5.44 85.8 8.1 4.8%
/gnu/store/bc[...]gy-ncurses-6.2.20210619 81.2 5.9 3.5%
/gnu/store/gz[...]vg-vifm-0.13 170.3 2.7 1.6%
/gnu/store/zz[...]a7-bash-static-5.1.16 1.8 1.8 1.1%
/gnu/store/6k[...]wj-xz-5.2.8 77.7 1.4 0.8%
/gnu/store/ri[...]4k-bash-minimal-5.1.16 41.6 1.0 0.6%
total: 170.3 MiB
```
Thanks for any reply :)
next reply other threads:[~2024-03-31 5:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-30 21:16 chris [this message]
2024-03-31 11:47 ` help using guix size command w/ local file definition Tomas Volf
2024-04-02 4:32 ` chris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZgiBP10DYrOz6ooS@guix-xps \
--to=chris@bumblehead.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.