Re: Guix closure size of a system?

2020-05-19 Thread Leo Famulari
On Tue, May 19, 2020 at 06:46:14PM +0200, Pierre Neidhardt wrote: > Should I file a bug? I've done it:

Re: Guix closure size of a system?

2020-05-19 Thread Leo Famulari
On Tue, May 19, 2020 at 05:58:54PM +0200, Pierre Neidhardt wrote: > I haven't looked at the details, but > > --8<---cut here---start->8--- > > guix size docker > store item totalself >

Re: Guix closure size of a system?

2020-05-19 Thread Leo Famulari
On Tue, May 19, 2020 at 11:57:02AM +0200, Pierre Neidhardt wrote: > /gnu/store/w8gjhcw6a16rk1dvxa97bz2znal5fihm-go-1.13.9 639.1 > 350.7 6.8% > - go: I think I've got go because of docker, but go should be a > build-time dependency, I don't think it belong here. Just FYI the

Re: Guix closure size of a system?

2020-05-19 Thread Julien Lepiller
Le 19 mai 2020 08:50:39 GMT-04:00, Pierre Neidhardt a écrit : >Julien Lepiller writes: > >>>Moving the llvm libs to a "lib" output could reduce the closure size >of >>>many packages I believe. >>> >>>Thoughts? >> >> Llvm doesn't support that afaik. > >Does not support what? >Arch Linux has a

Re: Guix closure size of a system?

2020-05-19 Thread Julien Lepiller
Le 19 mai 2020 05:57:02 GMT-04:00, Pierre Neidhardt a écrit : >This works, thanks! > >Should we document it in `guix size -h`? > >I think the result is interesting with respect to the discussion we had >about shrinking the closure sizes in Guix: > >--8<---cut

Re: Guix closure size of a system?

2020-05-19 Thread Tobias Geerinckx-Rice
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

Re: Guix closure size of a system?

2020-05-19 Thread Marius Bakke
Pierre Neidhardt writes: > Hi! > > Is there a way to calculate the closure size of a system (as generated > by guix system reconfigure config.scm)? Try: 'guix size $(guix system build config.scm)'. Or for the currently running generation: 'guix size $(readlink -f /run/current-system)'

Re: Guix closure size of a system?

2020-05-19 Thread Pierre Neidhardt
`guix size -h` does not advertize that it can take derivations. Doc bug? I tried your trick but it seems to take forever. So I tried on a lighter package then: --8<---cut here---start->8--- > guix size zile store item

Re: Guix closure size of a system?

2020-05-19 Thread Mathieu Othacehe
Hello Pierre, > Is there a way to calculate the closure size of a system (as generated > by guix system reconfigure config.scm)? Yes, you can pass '-d' to 'guix system' to get the matching derivation. Then you can pass this derivation to 'guix size'. Mathieu

Guix closure size of a system?

2020-05-19 Thread Pierre Neidhardt
Hi! Is there a way to calculate the closure size of a system (as generated by guix system reconfigure config.scm)? -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature