Skip to content
Snippets Groups Projects
Unverified Commit 776409c5 authored by Pierre Neidhardt's avatar Pierre Neidhardt
Browse files

doc: Add example to calculate the size a system.

* doc/guix.texi (Invoking `guix size'): Add guix size example for store item.
parent e70e0978
No related branches found
No related tags found
No related merge requests found
......@@ -10112,6 +10112,13 @@ libraries. (That libc and GCC's libraries represent a large fraction of
the closure is not a problem @i{per se} because they are always available
on the system anyway.)
 
Since the command also accepts store file names, assessing the size of
a build result is straightforward:
@example
guix size $(guix system build config.scm)
@end example
When the package(s) passed to @command{guix size} are available in the
store@footnote{More precisely, @command{guix size} looks for the
@emph{ungrafted} variant of the given package(s), as returned by
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment