Re: guix gc, any way to delete only packages that aren't required to build anything?

2019-01-09 Thread George Clemmer
Mark H Weaver writes: ... > On my GuixSD system where substitutes are completely disabled and I > build everything locally, I've been running my Guix daemon with both > --gc-keep-derivations=yes and --gc-keep-outputs=yes for years. Here's > the relevant excerpt of my OS config: > >

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-12-12 Thread George Clemmer
Mark H Weaver writes: > The bootstrap binaries currently consist of statically-linked > executables for 'bash', 'tar', 'xz', and 'mkdir', which are included in > the Guix source tree in the gnu/packages/bootstrap/ directory: > >

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-12-12 Thread Mark H Weaver
George Clemmer writes: > Mark H Weaver writes: > >> On my GuixSD system where substitutes are completely disabled and I >> build everything locally, I've been running my Guix daemon with both >> --gc-keep-derivations=yes and --gc-keep-outputs=yes for years. Here's >> the relevant excerpt of my

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-12-11 Thread George Clemmer
Hi Mark, Mark H Weaver writes: > On my GuixSD system where substitutes are completely disabled and I > build everything locally, I've been running my Guix daemon with both > --gc-keep-derivations=yes and --gc-keep-outputs=yes for years. Here's > the relevant excerpt of my OS config: ...

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-12-02 Thread Mark H Weaver
Hi Joshua, Joshua Branson writes: > Mark H Weaver writes: > >> Pierre Neidhardt writes: >> >> On my GuixSD system where substitutes are completely disabled and I >> build everything locally, I've been running my Guix daemon with both >> --gc-keep-derivations=yes and --gc-keep-outputs=yes for

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-12-02 Thread Ludovic Courtès
Hello, Matthew Brooks skribis: > Is there any recommended way to have guix gc only delete packages that aren't > required to build anything? To complement what others say, I use a low-tech but good enough approach, which is to GC just as much as I need, e.g., by running “guix gc -F80G” once

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-12-01 Thread Joshua Branson
Mark H Weaver writes: > Pierre Neidhardt writes: > > On my GuixSD system where substitutes are completely disabled and I > build everything locally, I've been running my Guix daemon with both > --gc-keep-derivations=yes and --gc-keep-outputs=yes for years. Here's > the relevant excerpt of my

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-11-30 Thread Mark H Weaver
Pierre Neidhardt writes: >> Contrary to what Pierre wrote above, I've found that the use of these >> flags certainly does _not_ lead to an ever-growing store. > > According to the discussion I linked above, The reason behind the ever-growing > store are substitutes. So if you don't use them,

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-11-30 Thread Pierre Neidhardt
> Contrary to what Pierre wrote above, I've found that the use of these > flags certainly does _not_ lead to an ever-growing store. According to the discussion I linked above, The reason behind the ever-growing store are substitutes. So if you don't use them, then the store size should be

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-11-30 Thread Mark H Weaver
Pierre Neidhardt writes: > I've been bugged by this as well (see > https://lists.gnu.org/archive/html/help-guix/2018-09/msg00028.html). There > are > a few options beside Ricardo's suggestion: > > - You can start the Guix daemon with --gc-keep-outputs (see "(guix) Invoking > guix-daemon" in

Re: guix gc, any way to delete only packages that aren't required to build anything?

2018-11-29 Thread Ricardo Wurmus
Hi Matthew, > Is there any recommended way to have guix gc only delete packages that > aren't required to build anything? This requirement is a little vague. Do you mean to only delete leaf packages? Or do you just want to keep a version of GCC? You could create an environment containing

guix gc, any way to delete only packages that aren't required to build anything?

2018-11-29 Thread Matthew Brooks
Is there any recommended way to have guix gc only delete packages that aren't required to build anything? I've made a custom bash script that loops through the output of "guix gc --list-dead" and tells guix to delete any dead packages that have no --referers, but it's really slow (it can take