guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: doc: Add example to calculate the size a system.


From: guix-commits
Subject: 02/02: doc: Add example to calculate the size a system.
Date: Fri, 29 May 2020 12:49:00 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit 776409c5069de949da328b769132fa009477668c
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Tue May 26 15:36:58 2020 +0200

    doc: Add example to calculate the size a system.
    
    * doc/guix.texi (Invoking `guix size'): Add guix size example for store 
item.
---
 doc/guix.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index 5b9942d..ba5729b 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]