Hullo Pierre,

Pierre Neidhardt 写道:
Is there a way to calculate the closure size of a system (as generated
by guix system reconfigure config.scm)?

Trivially!  Guix does good the unix and composes:

 $ guix size `guix build /etc/guix/system.scm`

allowing funtrospection like

 $ guix size `readlink /run/current-system`
 total: 3372.1 MiB

 $ guix size `readlink /run/current-system/profile`
 total: 2207.7 MiB

This Guix thing is pretty neat,

T G-R

Attachment: signature.asc
Description: PGP signature

Reply via email to